Convert a Subversion repository to Git

Updated . Posted . Visible to the public.
  • To retain all branches you can try the svn2git tool. However, this tool has some bugs.
  • To only import the trunk (with complete history): git svn clone http://host/svn/...
  • Create a .gitignore after the conversion.
  • Turn the folder into a git repository as described here.
Martin Straub
Last edit
Keywords
svn
License
Source code in this card is licensed under the MIT License.
Posted by Martin Straub to makandra dev (2010-08-25 14:27)