Script to help migrate code from SVN to GIT without losing commits history, tags and branchs.
apt-get install git git-svn subversion
Change the variables:
- PROJECT_NAME : Name of your project
- EMAIL : Emails organization
- BASE_SVN : The url to SVN repository to be migrated
- BRANCHES : The branches folder inside BASE_SVN
- TAGS : The tags folder inside BASE_SVN
- TRUNK : The trunk folder inside BASE_SVN
- GIT_URL : The url to Git repository to migrate
./migrate
Enjoy it.