2020年12月21日星期一

Multiple apps in git remote and how to specify to one app

I was working with another developer on my git repository and he pushed his work to me after forking. When I wanted to deploy the change of our work to Heroku, with git push Heroku master I get the following error. Previously it was always working when I deploy. I need to specify the app, but don't know how. I am using Django and VScode.

This is the following error:

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)  

I already tried with --app but it seems not to work for me.

https://stackoverflow.com/questions/65401995/multiple-apps-in-git-remote-and-how-to-specify-to-one-app December 22, 2020 at 09:04AM

没有评论:

发表评论