【发布时间】:2015-06-06 22:52:58
【问题描述】:
我有一个 heroku 帐户,并使用不同的电子邮件开设了第二个帐户。
当我尝试将我的项目部署到新帐户时,我看到:
$ heroku logout
Local credentials cleared.
(r2)
$ heroku login
Enter your Heroku credentials.
Email: XXX@gmail.com
Password (typing will be hidden):
Could not find an existing public key.
Would you like to generate one? [Yn] n
Authentication successful.
(r2)
$ git push heroku master
! Your account YYY@gmail.com does not have access to limitless-ocean-****.
!
! SSH Key Fingerprint: 25:e2:80:******:05:dc
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
(r2)
如何将我的项目推送到第二个帐户中的应用而不与第一个帐户冲突?
【问题讨论】:
-
在 .git 文件夹中检查它在 Heroku 远程配置文件中的内容 此文件夹可能被隐藏。另外:limitless-ocean-**** 是您的旧 Heroku 帐户中的应用程序还是您在新帐户中创建的应用程序?
-
limitless-ocean-**** 是新应用