You can set the heroku.remote
key in your repo’s Git config to the name of the default remote. For example, if your remote is called staging
, you could do this:
$ git config heroku.remote staging
To see how this works, here is the relevant source.
For more, information about this, see Managing Multiple Environments for an App.