본문 바로가기

Git

heroku error : heroku logs --tail, Multiple apps in git remotes

Multiple apps in git remotes

 

 heroku logs --tail
 »   Error: Multiple apps in git remotes
 »      Usage: --remote origin
 »         or: --app dooyou-test
 »      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:
 »      dooyou-test (heroku)
 »   dooyou-test (origin)
 »
 »      https://devcenter.heroku.com/articles/multiple-environments

해결방법 : export HEROKU_APP=< 이름 >

 

나 같은 경우는 : export HEROKU_APP=dooyou-test

 

 

참고한 : https://stackoverflow.com/questions/34225036/multiple-apps-in-git-remotes-when-trying-to-access-rails-console

728x90
300x250