我正在尝试检查 heroku 上的 git 远程:
$ heroku auth:logout
Local credentials cleared.
$ heroku auth:login
Enter your Heroku credentials.
Email: ***@gmail.com
Password (typing will be hidden):
Authentication successful.
$ git remote
heroku
origin
$ git remote show heroku
Username for 'https://git.heroku.com':
Password for 'https://git.heroku.com':
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.
fatal: Authentication failed for 'https://git.heroku.com/***-1909.git/'
Heroku 文档中引用了此错误,在上面的屏幕截图中https://devcenter.heroku.com/articles/git https://devcenter.heroku.com/articles/git,但我不确定下一步要做什么来解决这个问题。
这对我有用。
$ heroku auth:token
出现提示时,使用结果作为密码。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)