【问题标题】:Setting credentials to deploy to new account with Heroku using Win7使用 Win7 设置凭据以使用 Heroku 部署到新帐户
【发布时间】: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-**** 是新应用

标签: python windows heroku


【解决方案1】:

在您的 heroku 仪表板上,哪个帐户被列为“访问”选项卡下的所有者?您可以从“设置”选项卡将应用的所有权转移到您的新帐户,此处介绍了https://devcenter.heroku.com/articles/transferring-apps

【讨论】:

猜你喜欢
  • 2020-02-08
  • 1970-01-01
  • 2015-09-15
  • 2011-02-27
  • 2019-07-29
  • 1970-01-01
  • 1970-01-01
  • 2019-03-13
  • 2014-08-25
相关资源
最近更新 更多