Friday, August 30, 2013

How to migrate SVN with history to a new Git repository?

Magic:
$ git svn clone http://svn/repo/here/trunk
Git and SVN operate very differently. You need to learn Git, and if you want to track changes from SVN upstream, you need to learn git-svn. The git-svn man page has a good examples section:
$ git svn --help
http://stackoverflow.com/questions/79165/how-to-migrate-svn-with-history-to-a-new-git-repository

No comments:

Post a Comment