Search code examples
gitgithubgithub-desktop

How do I refresh the remote branch list on Github Desktop?


Another programmer recently added a new branch and I would like to switch to it. But it doesnt appear in the remote branch list on Github Desktop. As per title I am looking for a "Refresh Remote Branches" button, to be able to refresh that list.

I was able to do it via command line with "git fetch --prune", but thats not the point. I would prefer not to jump around tools/windows just do perform this common function.

VS 2019 also missing this function. Seems weird both software lacking. You have to 'fetch' an existing branch in VS to do the same thing. Totally un-intuitive!

Since these functions appear to be missing from Desktop and VS 2019 (for years and years), how do developers work around this without ever having to refresh their remote branch list? Or is everyone just using command line or other workarounds?


Solution

  • "Fetch origin" (at top right) should fetch the branches.

    enter image description here