加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows – Heroku:’https://git.heroku.com’的用户名:git

发布时间:2020-12-14 04:15:05 所属栏目:Windows 来源:网络整理
导读:我正在尝试检查heroku上的git远程: $heroku auth:logoutLocal credentials cleared.$heroku auth:loginEnter your Heroku credentials.Email: ***@gmail.comPassword (typing will be hidden):Authentication successful.$git remoteherokuorigin$git remot
我正在尝试检查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,但我不知道接下来要做什么来解决这个问题.

这对我有用.

$heroku auth:token

出现提示时,将结果用作密码.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读