使用的插件如下:https://github.com/nirvdrum/svn2git
检查项目SVN中有没有使用 trunk, branches, tags ,如果都没有所以在fetch时指定 "--notrunk --notags --nobranches " 即可。
下面命令是转换 weixin_test的使用命令:
svn2git svn://[email protected]/lanrion/website/weixin_test --username denght --notrunk --no-minimize-url --notags --nobranches --verbose
具体使用方法: $ svn2git --help