Skip to content

Instantly share code, notes, and snippets.

@buzzedword
Created July 11, 2012 02:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buzzedword/3087481 to your computer and use it in GitHub Desktop.
Save buzzedword/3087481 to your computer and use it in GitHub Desktop.
Add to a folder on your path, chmod 755, run with git trackall
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do git branch --track ${branch##*/} $branch; done
git fetch --tags
git fetch --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment