Created
October 21, 2015 04:11
-
-
Save codecakes/8fecca848ed102ecc861 to your computer and use it in GitHub Desktop.
fetch all git branches and track them
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
git fetch --all | |
for remote in `git branch -r`; do git branch --track $remote; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment