「ERROR: Repository not found. fatal: Could not read from remote repository.」と表示された場合は、

GitGit BASH

目次一覧

 状態:確認中  閲覧数:975  投稿日:2020-06-01  更新日:2020-06-01
originを削除する

originを削除する

 閲覧数:296 投稿日:2020-06-01 更新日:2020-06-01
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'.



fatal: remote error: is not a valid repository name

GitHub への PUSH へ 1回成功したぐらいでは、Git 理解したことには全然ならない



類似度ページランキング
順位 ページタイトル抜粋
1 「ERROR: Repository not found. fatal: Could not read from remote repository.」と表示された場合は、 40
2 「Email sent! We sent you a new copy of the confirmation email.」と表示されているのに、メール受信出来ない 30
3 「Twitter Developer」審査結果に通り、appを作成。しかし、いつの間にか「User is not Authorized」が表示されていたケース 25
4 「2023 年 4 月 30 日」前後にTwitterアカウントが「SUSPENDED This App has violated Twitter Rules and policies.」と表示された場合には、「Downgrade」ボタンを押した方がよいと思われます。 25
5 意図せずSubModuleが作成された場合は、「$ git rm -rf --cached <対象ファイル or path>」後、「$ git add <対象ファイル or path>」 25
6 「This App has violated Twitter Rules and policies. As a result, it can no longer be accessed. For assistance, submit a support ticket.」と表示された場合、 23
7 「Default branch」ではなく「Your branches」 23
8 意図せずSubModule(ディレクトリに白い矢印)が作成された場合は、「$ git rm -rf --cached <対象ファイル or path>」後、「$ git add <対象ファイル or path>」 23
9 fatal: remote error: is not a valid repository name 23
10 「Windows10」へ「gitfor windows VERSION 2.18.0」をインストール 22
11 「Windows10」へ「gitfor windows VERSION 2.22.0」をインストール 22
12 Knuth–Morris–Pratt algorithm border 21
13 we are unable to approve your developer application at this time. 21
14 「Google AdSense」と「iOSアプリ開発」の共通点 20
15 「Twitter Developer」で、遭遇したエラー系メッセージ 20
16 You currently have access to a subset of Twitter API v2 endpoints 20
17 「Twitter Developers」でApp作成 20
18 Git BASH 作業履歴 2022/10/21 / P28 site-ranking(4Th-Ranking-Service) / 他の「.git」ディレクトリが存在した状態のまま下記gitコマンドを実行したため、意図せず「submodule」化されてしまった例 19
19 Twitterにおける「name」「screen_name」「user_id」の意味は明確に異なる 19
20 Git BASH 作業履歴 2022/10/20 / P48 site-rank(First-Ranking-Service) / 「Add a README」後「git push -f origin main」実行したため、「README」削除 19
2024/4/20 5:07 更新
週間人気ページランキング / 4-13 → 4-19
順位 ページタイトル抜粋 アクセス数
1 動画対応 | プログラミング 7
1 Twitter アカウント管理 | Twitter Developer(Twitter) 7
2 本 | ブックマーク 6
3 GitHubリモートリポジトリ名には日本語を使用できない。使用すると、ハイフンへ自動置換されてしまう | GitHub(Git) 5
4 気になるアプリ | ブックマーク 3
4 Windows10で使用できるGitクライアント | GitHub(Git) 3
5 同じ携帯電話番号でも、複数の「Twitter Developers」アカウントを作成可能 | Twitter Developer(Twitter) 2
5 RTだけ表示するやつ / 2020/3/20時点の結論 / Link 2
6 Git BASH(Git) カテゴリー 1
6 2012年 1
6 Git BASH 作業履歴 2022/10/20 / P48 site-rank(First-Ranking-Service) / 「Add a README」後「git push -f origin main」実行したため、「README」削除 | Git BASH(Git) 1
6 SFC(プログラミング) カテゴリー 1
6 「Twitter API」は、2023 年 5 月 10 日時点では、SMS認証(電話番号登録)不要でプロジェクト作成できるよう仕様変更されています。 | Twitter API (Twitter) 1
6 3.作業ディレクトリ内へ、Gitの(空の)ローカルリポジトリを作成する / 4.作業ディレクトリ内の変更をステージングエリアへ追加してコミット候補にする / 5.インデックスに追加されたファイルをコミットする(コミットメッセージも指定する) 1
6 6.ローカルリポジトリに、リモートリポジトリを設定する / ローカルリポジトリに設定されている、リモートリポジトリ内容を一覧表示(URLも表示) / ローカルリポジトリ(mainブランチ)(の変更)を送信して、リモートリポジトリ(「origin」上の同名ブランチ)へ反映させる 1
6 和田晃一良 年表 1
6 地雷API | API(プログラミング) 1
6 Amazonアソシエイト・プログラム 1
6 開発 0 1
6 「公式サポートページでユーザ同士が回答し合う体裁」を採用しているAPI / 制限事項の詳細を中途半端にしか公開していないAPI / 問い合わせ先が、別サービスの海外掲示板になっているAPI 1
2024/4/20 1:01 更新