我已经执行了:
$ heroku login
但是,当我试图推动,我仍然要求认证:
$ git push heroku master
Username for 'https://git.heroku.com': <email>
Password for 'https://<email>@git.heroku.com':
然后我得到一个警告: 不要使用 Git 进行用户名和密码身份验证。
我再次运行 heroku 登录并成功地进行了身份验证,但我仍然得到同样的失败。
我看过遥控器了:
$ git remote -v
heroku https://git@heroku.com/appname.git (fetch)
heroku https://git@heroku.com/appname.git (push)
我还生成了一个新的公钥,并将其传递给 Heroku,然后对其进行验证: https://devcenter.heroku.com/articles/keys
我使用的是 Windows8,Git1.9.5。