Created
November 16, 2012 12:56
-
-
Save jsvnm/4087131 to your computer and use it in GitHub Desktop.
make local branches that track the ones in remote (origin)
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 r in `git branch -r | grep -v HEAD`; do b=${r#origin/}; git branch --track $b $r; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment