Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
fetch all branches from origin and track them as remote branches eg 'origin/branchname' From
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.