Skip to content

Instantly share code, notes, and snippets.

@gMagicScott
Created October 31, 2013 23:37
Show Gist options
  • Save gMagicScott/7258945 to your computer and use it in GitHub Desktop.
Save gMagicScott/7258945 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
for remote in `git branch -r | grep -v master `; do git checkout --track $remote ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment