Convert Subversion to Git

From Exterior Memory
Revision as of 10:38, 25 April 2013 by MacFreek (Talk | contribs) (Created page with "Image you have a Subversion repository called myproject at http://subversion.org/myproject and like to migrate it to gitosis@git.org:myproject.git, you can execute the followi...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Image you have a Subversion repository called myproject at http://subversion.org/myproject and like to migrate it to gitosis@git.org:myproject.git, you can execute the following command to convert it:

% mkdir myproject % cd myproject % git svn clone http://subversion.org/myproject % git remote add origin gitosis@git.org:myproject.git % git push origin master