Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有一种简单的方法可以将 2 个 svn 存储库转换为一个 git 存储库而不会丢失提交历史记录?我发现了一些如何将 svn 存储库转换为 git 的示例,但是我没有运气如何使用两个存储库来做到这一点
最直接的解决方案是将两个 SVN 存储库导入到它们自己的 git 存储库中,然后将这两个存储库合并为一个git subtree(参见例如这个问题或任何关于 git 的文档)。
git subtree