Skip to content

Instantly share code, notes, and snippets.

@juanformoso
Created January 28, 2015 14:15
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 juanformoso/11335dde3b5d429b2706 to your computer and use it in GitHub Desktop.
Save juanformoso/11335dde3b5d429b2706 to your computer and use it in GitHub Desktop.
How to pull ever branch from remote
for remote in `git branch -r | grep -v master `; do git checkout --track $remote; git pull ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment