Convert Subversion to Git

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