Git for Subversion

1、初始化本地Git库

$ git svn clone http://svn.example.com/project/trunk

$ git svn clone http://svn.example.com/project -T trunk -b branches -t tags

2、编辑

3、提交至本地Git库

$ git commit

4、从远程Subversion库取得更新

$ git svn rebase

5、提交至远程Subversion库

$ git svn dcommit

留下评论

您的邮箱地址不会被公开。 必填项已用 * 标注