- 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.
Posted by Martin Straub to makandra dev (2010-08-25 14:27)