Created
March 13, 2015 11:53
-
-
Save evaldosantos/725a8a63f27e8bf6d042 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# fetch all branchs from remote | |
for b in `git branch -r | grep -v -- '->'`; do git branch --track ${b##origin/} $b; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment