我是否可以使用svn2git
仅迁移中继并保留历史记录?如果是,我该如何处理。
我试过这样的事情:
svn2git repoPath/trunk --authors authors.txt
我还需要一些额外的parmas吗?循环执行某些修订后会抛出错误:
command failed:
git checkout -f master
答案 0 :(得分:0)
有很多os工具称自己'svn2git',即使是git也有实用程序。
但如果您使用此svn2git:
3。 svn repo不是标准布局,并且在repo的根级别只有一个trunk。
svn2git http://svn.example.com/path/to/repo --trunk trunk --nobranches --notags