Last active
December 28, 2015 15:29
-
-
Save linkarys/7521567 to your computer and use it in GitHub Desktop.
svn-to-git
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
# get svn user list | |
svn log -q svn_repository | grep -e '^r' | awk 'BEGIN {FS = "|" }; {print $2}' | sort | uniq | |
# create a users.txt: | |
old_username = new_usename <user_email> | |
# svn to git | |
git svn clone svn_repository --authors-file=users.txt --no-metadata -s git_fold |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is really cool!