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.
这是场景。我有一个存储库A,它有大量的历史和修订,我不希望在另一个存储库B中。如何在不移动整个历史记录的情况下同步两者。
我能想到的唯一解决方案是从A中进行存档,然后将其应用到新的存储库B中。这会将所有更改合并到一个提交中,这并不理想,但可能是执行此操作的唯一方法。