Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set default PULL remote in TortoiseGit?

I have two remotes configured: "origin" and "upstream".

Changing the push default is easy, it's both in the settings window ("Push Default"), and in the push dialog ("Always push to the selected remote branch").

However, I want to change the default pull remote. Whenever I pull or fetch, TortoiseGit defaults to "upstream". I want the default to be "origin".

I know I can manually edit the local config and change "remote = upstream" to "remote = origin", but I want to know if there is a way in the TortoiseGit UI to do this.

like image 579
Peter Avatar asked Mar 30 '16 22:03

Peter


1 Answers

That's called "remote tracking branch". You can set it on the Browse References dialog. Right click on the local branch and then select remote tracking branch.

like image 120
MrTux Avatar answered Jan 03 '23 13:01

MrTux