【问题标题】:Multiple apps in git remote and how to specify to one appgit remote 中的多个应用程序以及如何指定一个应用程序
【发布时间】:2021-03-31 18:16:22
【问题描述】:

我在我的 git 存储库上与另一位开发人员合作,他在分叉后将他的工作推给了我。当我想使用 git push Heroku master 将我们的工作更改部署到 Heroku 时,我收到以下错误。以前它在我部署时一直在工作。我需要指定应用程序,但不知道如何。我正在使用 Django 和 VScode。

这是以下错误:

Error: Multiple apps in git remotes
 ›     Usage: --remote heroku-staging
 ›        or: --app radiant-escarpment-03215
 ›     Your local git repository has more than 1 app referenced in git remotes.
 ›     Because of this, we can't determine which app you want to run this command against.
 ›     Specify the app you want with --app or --remote.
 ›     Heroku remotes in repo:
 ›     beneluxbilal (heroku)
 ›   radiant-escarpment-03215 (heroku-staging)

我已经尝试过使用 --app 但它似乎不适合我。

【问题讨论】:

    标签: django git heroku


    【解决方案1】:
        heroku ps:scale web=1 --remote heroku-staging
    

    【讨论】:

    • 很难说你是如​​何回答这个问题的。你能详细说明一下吗?谢谢。
    猜你喜欢
    • 2019-05-29
    • 1970-01-01
    • 2012-04-15
    • 1970-01-01
    • 1970-01-01
    • 2012-07-31
    • 2012-08-22
    • 1970-01-01
    相关资源
    最近更新 更多