我已执行:
$ heroku login
但是当我尝试推送时,仍然要求进行身份验证:
$ git push heroku master
Username for 'https://git.heroku.com': <email>
Password for 'https://<email>@git.heroku.com':
然后我收到一个警告:不要使用用户名和密码在Git上进行身份验证。
我再次运行 heroku login 并成功进行了身份验证,但我仍然遇到相同的问题。
我已经检查了远程:
$ 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
我使用的是Git 1.9.5版本,操作系统为Windows 8。
heroku login
。 - undefined