Skip to content

Instantly share code, notes, and snippets.

@iolloyd
Created May 1, 2015 08:39
Show Gist options
  • Save iolloyd/b4d1a973d0bee5910064 to your computer and use it in GitHub Desktop.
Save iolloyd/b4d1a973d0bee5910064 to your computer and use it in GitHub Desktop.
fetch and track all remote branches from upstream
git branch -r| xargs -n 1 git branch --track
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment