originを削除する

カテゴリー: GitHub  閲覧数:446 配信日: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'.


週間人気ページランキング / 10-27 → 11-2
順位 ページタイトル抜粋 アクセス数
1 「Windows10」へ「gitfor windows VERSION 2.22.0」をインストール | GitHub(Git) 3
2 リファクタは、開発が一区切りついた段階でなるべく実行した方が良い | Webサービス開発 1
2 「Twitter Developers」でApp作成 | Twitter Developer(Twitter) 1
2 コインチェック株式会社   | Webサービスビジネス 1
2 「Twitter Developers」でアプリケーションを新規作成するためには? SMS認証用コードを確認可能な電話番号の登録が必要 | Twitter Developer(Twitter) 1
2 過去の「0文字引用RT」を期間指定して取得しようとするも、挫折 | Twitter API (Twitter) 1
2 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(Git) 1
2 「Twitter API」を利用するためには? / Twitter API v1.1 / OAuth 1.0A / OAuth 2.0 | Twitter Developer(Twitter) 1
2 ブックマーク カテゴリー 1
2 開発 0 1
2 古いコードを処分 | プログラミング 1
2 You currently have access to a subset of Twitter API v2 endpoints | Twitter API (Twitter) 1
2 Fintechの中で興味がある内容を自分の言葉でまとめていくための目次 | 決済(Webサービスビジネス) 1
2 Twitter 電話番号の問題 | Twitter Developer(Twitter) 1
2 Windows10で使用できるGitクライアント | GitHub(Git) 1
2 Twitter API v1.1 | Twitter Developer(Twitter) 1
2 課金決済代行サービスを分類 | Webサービスビジネス 1
2 mhtmlの問題 | Google Chrome 拡張機能 1
2025/11/3 1:02 更新
指定期間人気ページランキング / 2020-5-27 → 2025-11-2
順位 ページタイトル抜粋 アクセス数
1 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(開発環境) 1062
2 fatal: remote error: is not a valid repository name | Git BASH(開発環境) 748
3 Twitter アカウント管理 | Twitter Developer(Twitter) 621
4 開発 0 599
5 Twitter API | Twitter API (Twitter) 598
6 動画対応 | プログラミング 590
7 「Twitterデータ」対応 | Twitter Developer(Twitter) 562
8 Windows10で使用できるGitクライアント | GitHub(開発環境) 460
9 本 | ブックマーク 450
10 Webサービス | ブックマーク 424
11 マッチングサービス | Webサービスビジネス 403
12 同じ携帯電話番号でも、複数の「Twitter Developers」アカウントを作成可能 | Twitter Developer(Twitter) 364
13 TwitterOAuth では、画像URL を指定した画像投稿は出来ない(と思う)。ライブラリを使用しなければ出来るから、Twitter API の制限ではない(と思われる)  | Twitter 326
14 teratailでは質問しない | プログラミング 301
15 技術書籍 | プログラミング 300
16 気になった動画 | ブックマーク 294
17 埋め込みツイート | Twitter Developer(Twitter) 271
18 個人事業主 | Webサービスビジネス 250
19 Twitter 電話番号の問題 | Twitter Developer(Twitter) 234
20 コインチェック株式会社   | Webサービスビジネス 214
2025/11/3 1:02 更新