Reputation: 1333
How can I change default remote ref for TortoiseGit push dialog? It is normally master
. I can change it to refs/for/master
always when I push from combo or keyboard and it works, but I would like to stay the ref of my choice there. How can I do this?
Upvotes: 12
Views: 5529
Reputation: 1044
For me the accepted answer did not work. Instead I went to the Remote settings and selected "Push default" on the default remote item (as shown below).
Upvotes: 5
Reputation: 2045
It seems to me that the checkbox "Always push to the selected remote branch for this local branch" should do this.
Upvotes: 10