LoginSignup
4
1

More than 5 years have passed since last update.

git push できない

Last updated at Posted at 2017-03-09

The requested URL returned error: 403

git pushをしたら次のようなエラーでえらく困ったのでメモ書き


fatal: unable to access 'リポジトリURL': The requested URL returned error: 403

どうやら
別のgithubアカウントのログイン情報(キーチェーンアクセス)が残っているための模様。

git credential fill
で確認するとキャッシュされているIDとPWが表示される。

git credential reject
で綺麗にすると解決しました。

複数アカウントを使うときは注意したい。

参考にさせてもらいました。ありがたやありがたや
http://qiita.com/0koara0/items/f41a3d5b58ff9038229c
http://ja.stackoverflow.com/questions/23475/githubへgit-pushしようとすると403エラーとなる

4
1
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
4
1