'Error message " Error: Multiple apps in git remotes " [duplicate]

Usage: --remote heroku-staging
 »        or: --app deriaankan
 »     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:
 »     deriaankan (heroku)
 »   deriaankan (heroku-staging)
 »   powerful-shelf-94651 (staging)

How can I solve this error and use first one (deriaankan (heroku) )



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source