Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get all remote branches, set them up as local and track remote From http://stackoverflow.com/questions/379081/track-all-remote-git-branches-as-local-branches
for remote in `git branch -r | grep -v master `; do git checkout --track $remote ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.