Skip to content

Instantly share code, notes, and snippets.

@yongkangchen yongkangchen/git-svn.md
Last active Aug 29, 2015

Embed
What would you like to do?

$ svn log --xml | grep author | sort -u | perl -pe 's/.>(.?)<./$1 = /' > users.txt

$ vi users.txt

$ git svn init ${svn_url} --no-metadata

$ git svn fetch --authors-file=users.txt

$ vi .gitignore

.svn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.