Skip to content

Instantly share code, notes, and snippets.

@dhonx
Created November 8, 2019 07:08
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dhonx/935543aa90578e2d2808f9b4552666e1 to your computer and use it in GitHub Desktop.
Save dhonx/935543aa90578e2d2808f9b4552666e1 to your computer and use it in GitHub Desktop.
Git: Update Branch List from Remote
# Source: https://stackoverflow.com/questions/36358265/when-does-git-refresh-the-list-of-remote-branches
# To update the local list of remote branches:
git remote update origin --prune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment