获取heroku打开时的多个应用程序列表

获取heroku打开时的多个应用程序列表,heroku,deployment,Heroku,Deployment,我有一个rails项目,我已经在heroku上部署了它。当我尝试使用heroku open在浏览器上打开时遇到问题,它返回一个列表,如下所示: ▸ Multiple apps in git remotes ▸ Usage: --remote heroku-stagin ▸ or: --app still-falls-46284 ▸ Your local git repository has more than 1 app referenced in git rem

我有一个rails项目,我已经在heroku上部署了它。当我尝试使用
heroku open
在浏览器上打开时遇到问题,它返回一个列表,如下所示:

 ▸    Multiple apps in git remotes
 ▸    Usage: --remote heroku-stagin
 ▸    or: --app still-falls-46284
 ▸    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:
 ▸    still-falls-46284 (heroku)
 ▸    still-falls-46284 (heroku-stagin)
 ▸    still-falls-46284 (still-falls-46284)
 ▸    
 ▸    https://devcenter.heroku.com/articles/multiple-environments
我键入的一些命令:

  • 赫罗库创造
  • git推送heroku主机
  • 赫罗库公开赛
  • heroku open——远程静物-falls-46284
  • heroku run rails c--应用程序still-falls-46284

如果您试图推送到您的
heroku
服务器,请执行以下操作:

git push heroku master

如果您试图推送到您的
heroku stagin
服务器:

git push heroku-stagin master
如果您的
still-falls-46284
分支也是heroku应用程序,并且您正试图将其推送到该应用程序,请执行以下操作:

git push still-falls-46284 master