Created
January 17, 2014 08:38
-
-
Save kevinkepp/8470179 to your computer and use it in GitHub Desktop.
Git: Checkout and track all remote branches ("deep clone")
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
for remote in `git branch -r | grep -v '\->'`; do git checkout --track $remote; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment