rossbar
9/16/2015 - 12:10 AM

Set up local repository to track all remote branches

Set up local repository to track all remote branches

# http://stackoverflow.com/questions/379081/track-all-remote-git-branches-as-local-branches
for remote in `git branch -r | grep -v /HEAD`; do git checkout --track $remote ; done