originを削除する

カテゴリー: GitHub  閲覧数:416 配信日:2020-06-01 08:43


git push origin master
ローカルリポジトリ(masterブランチ)(の変更)を送信して、リモートリポジトリ(「origin」上の同名ブランチ)へ反映させる
user@xxxx MINGW64 /L/3_開発/git/大阪府 (master)
$ git push -u origin master
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


git remote rm
ローカルリポジトリからリモート URL を削除する
※リモートリポジトリをサーバから削除するわけではない(ローカルリポジトリからリモートリポジトリへの参照を削除するだけ)
user@xxxx MINGW64 /L/3_開発/git/大阪府 (master)
$ git remote rm origin

user@xxxx MINGW64 /L/3_開発/git/大阪府 (master)
$ git remote add origin git@github.com:GitHubユーザー名/test_2020_06_01.git

user@xxxx MINGW64 /L/3_開発/git/大阪府 (master)
$ git remote -v
origin  git@github.com:GitHubユーザー名/test_2020_06_01.git (fetch)
origin  git@github.com:GitHubユーザー名/test_2020_06_01.git (push)


git push origin master
ローカルリポジトリ(masterブランチ)(の変更)を送信して、リモートリポジトリ(「origin」上の同名ブランチ)へ反映させる
user@xxxx MINGW64 /L/3_開発/git/大阪府 (master)
$ git push -u origin master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 8 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 244 bytes | 122.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To github.com:GitHubユーザー名/test_2020_06_01.git
 * [new branch]      master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.


週間人気ページランキング / 7-20 → 7-26
順位 ページタイトル抜粋 アクセス数
1 「Windows10」へ「gitfor windows VERSION 2.22.0」をインストール | GitHub(Git) 2
1 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(Git) 2
1 fatal: remote error: is not a valid repository name | Git BASH(Git) 2
2 Windows10で使用できるGitクライアント | GitHub(Git) 1
2 「Windows10」へ「gitfor windows VERSION 2.18.0」をインストール | GitHub(Git) 1
2 同じ携帯電話番号でも、複数の「Twitter Developers」アカウントを作成可能 | Twitter Developer(Twitter) 1
2 ブックマーク カテゴリー 1
2 teratailでは質問しない | プログラミング 1
2 2次選考結果全体 / 順位 / 感想 1
2 フォルダ/ファイル構成 | プログラミング 1
2 本 | ブックマーク 1
2 You currently have access to a subset of Twitter API v2 endpoints | Twitter API (Twitter) 1
2 Git BASH 経由で、Windows10 から GitHub へ PUSH する | GitHub(Git) 1
2 「Twitter Developers」でアプリケーションを新規作成するためには? SMS認証用コードを確認可能な電話番号の登録が必要 | Twitter Developer(Twitter) 1
2 Fintechの中で興味がある内容を自分の言葉でまとめていくための目次 | 決済(Webサービスビジネス) 1
2 Twitter 電話番号の問題 | Twitter Developer(Twitter) 1
2 Twitter API v1.1 | Twitter Developer(Twitter) 1
2 (私の)日本語コーディングルール | 言葉(Webサービス開発) 1
2 API(プログラミング) カテゴリー 1
2 Twitter アカウント管理 | Twitter Developer(Twitter) 1
2025/7/27 1:02 更新
指定期間人気ページランキング / 2020-5-27 → 2025-7-26
順位 ページタイトル抜粋 アクセス数
1 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(開発環境) 1040
2 fatal: remote error: is not a valid repository name | Git BASH(開発環境) 742
3 Twitter アカウント管理 | Twitter Developer(Twitter) 618
4 Twitter API | Twitter API (Twitter) 594
5 動画対応 | プログラミング 589
6 開発 0 588
7 「Twitterデータ」対応 | Twitter Developer(Twitter) 555
8 Windows10で使用できるGitクライアント | GitHub(開発環境) 450
9 本 | ブックマーク 446
10 Webサービス | ブックマーク 422
11 マッチングサービス | Webサービスビジネス 403
12 同じ携帯電話番号でも、複数の「Twitter Developers」アカウントを作成可能 | Twitter Developer(Twitter) 357
13 TwitterOAuth では、画像URL を指定した画像投稿は出来ない(と思う)。ライブラリを使用しなければ出来るから、Twitter API の制限ではない(と思われる)  | Twitter 321
14 技術書籍 | プログラミング 299
15 teratailでは質問しない | プログラミング 298
16 気になった動画 | ブックマーク 292
17 埋め込みツイート | Twitter Developer(Twitter) 271
18 個人事業主 | Webサービスビジネス 250
19 Twitter 電話番号の問題 | Twitter Developer(Twitter) 233
20 コインチェック株式会社   | Webサービスビジネス 203
2025/7/27 1:02 更新