Skip to content

Instantly share code, notes, and snippets.

@summerblue
Created October 24, 2013 02:11
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 summerblue/7130165 to your computer and use it in GitHub Desktop.
Save summerblue/7130165 to your computer and use it in GitHub Desktop.
checkout all the remote branches
for remote in `git branch -r `; do git branch --track $remote; done
git remote update
git pull --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment