Heroku:“https://git.heroku.com”的用户名:git

在这里输入图像说明

我正在尝试检查heroku上的git remote:

$ 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

提示时使用结果作为密码。