Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gearmobile/4c088c54b7010903a18547bae7768cdc to your computer and use it in GitHub Desktop.
Save gearmobile/4c088c54b7010903a18547bae7768cdc 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