Skip to content

Instantly share code, notes, and snippets.

@thinktainer
Created September 19, 2012 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thinktainer/3750555 to your computer and use it in GitHub Desktop.
Save thinktainer/3750555 to your computer and use it in GitHub Desktop.
check out branches from subversion in git
#!bin/sh
git-for-each-ref | cut -d / -f 4 | while read ref; do git checkout -b $ref remotes/svn/$ref; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment