svn to git

Here is a quick way to migrate a subversion repository to git.

1
2
3
4
$ mkdir my-repo
$ cd my-repo
$ git svn init --stdlayout https://www.example.com/svn/my-repo
$ git svn fetch --authors-file=authors.txt

That's pretty much it. my-repo is now a fully functional git repository.

Notes:

Comments Add one by emailing me.