【问题标题】:Heroku single account error: "Your account email@address.com does not have access to oldappname. SSH Key Fingerprint: XXX..."Heroku 单帐户错误:“您的帐户 email@address.com 无权访问 oldappname。SSH 密钥指纹:XXX ...”
【发布时间】:2015-07-19 15:38:18
【问题描述】:

我在 github 和 heroku 上有一个存储库,它们都已重命名。当我git push heroku master 时,我得到了错误

!  Your account email@address.com does not have access to oldappname.
!  
!  SSH Key Fingerprint: XXX. . .   

感谢您的任何指点!我期待能够克服这个错误。

*类似的问题已经被问过很多次了,总是针对拥有多个 Heroku 帐户的用户,但我只有一个 Heroku 帐户。因为多个帐户问题(添加、删除 ssh 密钥)的解决方案对我的问题不起作用,所以我将其作为自己的问题。

【问题讨论】:

  • 老实说,我不理解反对票;有人可以解释一下吗?

标签: git heroku github ssh


【解决方案1】:

我终于能够克服这个错误!在终端,我跑了

git remote -v

生产的

heroku  git@heroku.com:rainbow.git (fetch)
heroku  git@heroku.com:rainbow.git (push)
origin  https://github.com/username/rainbows-rainbows.git (fetch)
origin  https://github.com/username/rainbows-rainbows.git (push)

应用名称不匹配! Heroku 仍在使用旧名称检查 git 存储库。为了解决这个问题,我跑了

git remote rm heroku

从而删除不正确的heroku遥控器。在 Heroku 上,我删除了存储库(也许没有必要,但我想要一个新的开始,以免因不完整的名称更改而负担)。因此,为了在 Heroku 中初始化应用程序,我运行了

heroku create newappname

最后,我的

git push heroku master

成功了。

【讨论】:

  • 非常感谢您的更新。我遇到了同样的问题!
猜你喜欢
  • 2011-03-06
  • 1970-01-01
  • 1970-01-01
  • 2014-01-02
  • 1970-01-01
  • 2018-02-21
  • 1970-01-01
  • 2014-09-27
  • 2012-05-14
相关资源
最近更新 更多