LoginSignup
5
3

More than 3 years have passed since last update.

【GitHub】〜 does not appear to be a git repository が出た時の対処法

Posted at

エラー内容

GitHubの別のエラーに対処している時に、$ git remote set-url origin にて
remote先の設定をし直した後に、下記のエラーが発生。

fatal: 'github.com/####/####' does not appear to be a git repository

対処方法

まずは下記コマンドで設定を確認。

$ git config -l 

ユーザー名など色々と出てくると思いますが
remote.origin.url の部分を確認。

remote.origin.url=github.com/###/###

どうやら github.comの後ろにコロンが必要なようなので

$ git remote set-url origin github.com:/###/###

特に反応は無いので、再push。
これでうまくいくかと思います。

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3