【Heroku】Do not authenticate with username and password using git.

Do not authenticate with username and password using git.エラーの解決方法についてまとめました。

## 【Heroku】’heroku’ does not appear to be a git repositoryエラー

Herokuで「git push heroku master」を実行すると、以下のエラーが出ることがあります。

$ git push heroku master
remote: !       WARNING:
remote: !       Do not authenticate with username and password using git.
remote: !       Run `heroku login` to update your credentials, then retry the git command.
remote: !       See documentation for details: https://devcenter.heroku.com/articles/git#http-git-authentication
fatal: Authentication failed for 'https://git.heroku.com/<アプリ名>.git/'

その場合は、以下のコマンドを実行して再度ログインすることで解消されることがあります。

$ heroku login

ただし、私はこれでも駄目だったので結局アプリを一度管理画面で削除してから再度作り直しました。

【C#入門】基礎文法とサンプル集
C#言語の基本文法・使い方をサンプルプログラムのソースコード付きで解説します。
Heroku
スポンサーリンク

コメント