Created
November 18, 2014 21:14
-
-
Save AndrewRussellHayes/dc77dc2516fb353289b5 to your computer and use it in GitHub Desktop.
get all remote branches, set them up as local and track remote From http://stackoverflow.com/questions/379081/track-all-remote-git-branches-as-local-branches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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