Skip to content

Instantly share code, notes, and snippets.

@Ritesh-patel
Created September 15, 2013 08:52
Show Gist options
  • Save Ritesh-patel/6569009 to your computer and use it in GitHub Desktop.
Save Ritesh-patel/6569009 to your computer and use it in GitHub Desktop.
Fetch all remote branches.
for remote in `git branch -r`; do git branch --track $remote; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment