Convert SVN to Github
To convert a SVN to GIT, keeping the history.
Fri 15 Mar 2013 12:05:59 PM CET
1. Setup a "authors.txt" file containing one line a author: SVN_NAME = GIT_NAME <email@adress>
This will map the SVN user name with the Github user accounts and email.
2. git svn clone $SVN –no-metadata -A authors.txt
The will create a local Git repository with all the revisions of the SVN.
3. git remote add origin email@example.com:Account/Repos
You must be in the local repository and have created a brand new repository "Repos" with your account "Account".
4. git push -u origin master
To push the very first commits.