Import SVN to Git - eggnet/scm2pgsql GitHub Wiki

Requirements:

  • Install Git (sudo apt-get install git)

Process

  1. Run in Linux, preferably Ubuntu

  2. Open up the utils folder in the terminal

  3. Run the shell script called svntogit.sh. An example of running this script is as follows: ./svntogit.sh [SVN URL] where SVN URL is a user supplied URL to an online svn repository.

  4. After you run this script, the output repository will be stored in the temp/svnConverted folder in this project. You are now able to use this as a normal git repository.

Refs: http://help.github.com/import-from-subversion/