Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
git copy all remote
for b in `git branch -r | grep -v -- '->'`; do git branch --track ${b##origin/} $b; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment