Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fetch all branches from origin and track them as remote branches eg 'origin/branchname' From http://stackoverflow.com/questions/10312521/how-to-fetch-all-git-branches
for remote in `git branch -r`; do git branch --track $remote; done
git fetch --all
git pull --all
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.