'git push heroku master' 仍在要求身份验证 [英] 'git push heroku master' is still asking for authentication
问题描述
我已经执行了:
$ heroku login
但是当我尝试推送时,仍然要求我进行身份验证:
But when I try to push, I'm still asked for authentication:
$ git push heroku master
Username for 'https://git.heroku.com': <email>
Password for 'https://<email>@git.heroku.com':
然后我收到警告:不要使用 Git 使用用户名和密码进行身份验证.
Then I get a WARNING: Do not authenticate with username and password using Git.
我再次运行 heroku login 并成功通过身份验证,但我仍然遇到同样的失败.
I ran heroku login again and authenticated successfully but I still get the same failure.
我检查了遥控器:
$ 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
I've also generated a new public key, passed it to Heroku, and validated it: https://devcenter.heroku.com/articles/keys
我使用的是 Windows 8,使用 Git 1.9.5.
I am on Windows 8, with Git 1.9.5.
推荐答案
抱歉回复晚了,但我两个月前已经解决了我的问题.(只是没有将问题标记为已回答./noob)
Pardon for the late reply, but I have fixed my problem two months ago. (Just haven't marked the question as answered. /noob)
git restore 后在 Heroku 上未授权 SSH 指纹一个>
这篇关于'git push heroku master' 仍在要求身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!