Skip to content

Fetch And Track All Remote Branches

Fetch and Track all remote Branches#

for remote in `git branch -r`; do git branch --track $remote; done
git fetch --all
git pull --all

Source