Skip to content

Instantly share code, notes, and snippets.

@yongkangchen
Last active August 29, 2015 14:11

$ 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