On 2/11/2017 11:25, Edward Diener wrote:
On 11/1/2017 6:09 PM, Gavin Lambert wrote:
By default you only see branches that you have checked out or copied locally. You need to look under remotes/origin to see remote branches, and they are not updated until you do a Fetch/Pull.
So between one fetch/pull and another fetch/pull TortoiseGit will not show a new remote branch anywhere ? OK, thanks for the information. I did not know what it took for TortoiseGit to update its information for a remote repository.
Yes. Essentially, fetch and push are the only operations that contact the remote server. (Although pull and submodule update can also trigger a fetch internally.) Everything else happens entirely locally. Your remote/* branches are just your cached copies of where they pointed the last time you fetched, and may be out of date between fetches. Similarly, your non-remote branches are left wherever you last left them, and don't follow the remote branches automatically unless you explicitly ask them to (by having that branch checked out and doing a pull -r / Fetch&Rebase, or by re-creating the branch at the new commit).