Created
September 22, 2015 06:55
-
-
Save kcc0/1f76194925d994a52a95 to your computer and use it in GitHub Desktop.
Git - Pull all branches from 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 remote in `git branch -r`; do git branch --track ${remote#origin/} $remote; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment