Skip to content

Instantly share code, notes, and snippets.

@aegypius
Created November 24, 2011 14:26
Show Gist options
  • Save aegypius/1391464 to your computer and use it in GitHub Desktop.
Save aegypius/1391464 to your computer and use it in GitHub Desktop.
Git - SVN Clone Toolkit
git svn clone -A svn-authors -s svn://server/repository
git for-each-ref refs/remotes/tags --shell --format="r=%(refname:short) t=\${r#tags/}" | while read e; do eval "$e"; git tag -f $t refs/remotes/$r; git branch -d -r $r; done
john = John DOE <john.doe@example.com>
jane = Jane DOE <jane.doe@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment