Skip to content

Instantly share code, notes, and snippets.

@shaneshifflett
Created February 17, 2011 06:07
Show Gist options
  • Save shaneshifflett/831108 to your computer and use it in GitHub Desktop.
Save shaneshifflett/831108 to your computer and use it in GitHub Desktop.
Track all remote GIT branches locally
for remote in `git branch -r | grep -v master `;
do git checkout --track $remote ;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment