【发布时间】: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 但它似乎不适合我。
【问题讨论】: