You can configure it with the push
setting in .git/config
:
[remote "test"]
push = production:master
[remote "live"]
push = production:master
The push
setting is the <refspec> used by git push
when none is given, e.g. git push test
.
(For the push
setting above to take effect you have to have the 'production' branch currently checked out)