Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set default remote ref in TortoiseGit?

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?

TortoiseGit push dialog

like image 986
Marcin Szawurski Avatar asked Aug 26 '14 09:08

Marcin Szawurski


2 Answers

It seems to me that the checkbox "Always push to the selected remote branch for this local branch" should do this.

like image 181
koffeinfrei Avatar answered Oct 05 '22 05:10

koffeinfrei


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).

enter image description here

like image 23
Seidleroni Avatar answered Oct 05 '22 06:10

Seidleroni