Migrate svn to git

Collect all usernames

svn log -r1:HEAD --xml | xmlstarlet select -T -t -m log -m logentry -v author -n | sort | uniq -c > svnusers.txt

Edit svnusers.txt as follows : SVN_USER = GIT_USER <GIT_USER_EMAIL>

git svn clone SVN_URL --no-metadata -A svnusers.txt convert_temp
cd convert_temp
git config --local user.name GIT_USER
git config --local user.email GIT_USER_EMAIL
git svn show-ignore > .gitignore
git add .gitignore
git commit -m 'convert svn:ignore properties to .gitignore'
git remote add target GIT_URL
git push target master:refs/heads/master

Then clone afresh.

See also.