ClearCase 到 Git 的迁移
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26967817/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
ClearCase to Git migration
提问by user3544428
We are working on converting our CC Vobs to GIT we have both base and UCM vobs, I have seen many topic with no clear steps.
我们正在努力将我们的 CC Vobs 转换为 GIT,我们有基础和 UCM Vobs,我看到了很多没有明确步骤的主题。
Is there any tool or steps that can keep history and branches?
有没有什么工具或步骤可以保留历史和分支?
回答by VonC
No, there is no ClearCase to Git bridge, convertor or adaptor that I know of (retaining the fullhistory, with all its events).
不,我知道没有 ClearCase 到 Git 桥接器、转换器或适配器(保留完整历史记录及其所有事件)。
It is best to:
最好是:
- restrict a git repo to an UCM component (while a Vob can contain multiple component and be way too big for a Git repo to handle)
- add in a git repo only the last few baselines of a given components (see "Equivalent of the clearcase baseline and clearcase activities in Git?")
- keep ClearCase in read-only mode for history archive.
- 将 git repo 限制为 UCM 组件(而 Vob 可以包含多个组件并且对于 Git 存储库来说太大而无法处理)
- 仅在 git repo 中添加给定组件的最后几个基线(请参阅“ Git 中 clearcase 基线和 clearcase 活动的等效项?”)
- 将 ClearCase 保持在只读模式以进行历史存档。
You will find a similar advice in:
您会在以下位置找到类似的建议:
You can try:
你可以试试:
- a more elaborate method in "How to bridge git to ClearCase?"
- the
git-cc
project(might be obsolete by now)
- “如何将 git 桥接到 ClearCase?”中更详细的方法。
- 该
git-cc
项目(现在可能已经过时)