Skip to content

Instantly share code, notes, and snippets.

@vinaymavi
Created November 13, 2019 09:23
Show Gist options
  • Save vinaymavi/ddc8758a9a21bbe14f1138590422b090 to your computer and use it in GitHub Desktop.
Save vinaymavi/ddc8758a9a21bbe14f1138590422b090 to your computer and use it in GitHub Desktop.
for remote in `git branch -r | grep -v /HEAD`; do git checkout --track $remote ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment