Created
November 24, 2011 14:26
-
-
Save aegypius/1391464 to your computer and use it in GitHub Desktop.
Git - SVN Clone Toolkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment