There are a number of resources online that are helpful in documenting the flow of converting your entire SVN Repo (including all history) to Git. This documentation was derived from two locations:
- http://pauldowman.com/2008/07/26/how-to-convert-from-subversion-to-git/
- http://john.albin.net/git/convert-subversion-to-git (specifically the conversion of the svn-ignore properties)
cd /path/to/svn/repo
svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | sort -u > /path/to/authors.txt
Convert from this format: user = user <user>
To this format: user = UserFirst UserLast <user@website.com>
git svn clone [SVN REPO URL] --no-metadata -A /path/to/authors.txt name-of-new-repo
cd /path/to/temp/repo
git svn show-ignore > .gitignore
git add .gitignore
git commit -m "Converting svn:ignore properties to .gitignore"
git remote add origin somegitusername@somegithostingwebsite:userid/project.git
git pull origin master
git push origin master --tags