Last active
March 22, 2016 15:32
-
-
Save Emuentes/b1d75e9292a45d4a31ff to your computer and use it in GitHub Desktop.
GIT checkout ALL remote branches other than "origin/master", "origin/develop", & origin/HEAD which comes up in the git remote branch list.
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 branch -r | grep -v -E '(\*|master$|develop$|HEAD$)' | cut -f2- -d '/' | xargs -n 1 git checkout | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment