Skip to content

Instantly share code, notes, and snippets.

@lanrion
Created September 15, 2014 08:04
Show Gist options
  • Save lanrion/02004e0108db405b1c72 to your computer and use it in GitHub Desktop.
Save lanrion/02004e0108db405b1c72 to your computer and use it in GitHub Desktop.
svn2git usage

使用的插件如下: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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment