Close Window

Migrating a Subversion Repository to Git

Often, when considering a new version control system, the easiest way to get started is to migrate an existing repository over to it. With Git, it is now quite easy to migrate an existing Subversion repository, including all history, over to Git.

$ git svn clone [subversion_repository_url] /path/to/git/repository
$ cd /path/to/git/repository
$ git remote add origin git@subdomain.unfuddle.com:subdomain/abbreviation.git
$ git push origin master

Note that 'git svn clone' will create the Git repository.

For a more detailed guide, including username mapping, please see: