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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 10:34:23  来源:igfitidea点击:

ClearCase to Git migration

gitmigrationclearcaserevision-history

提问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:

最好是:

  • 将 git repo 限制为 UCM 组件(而 Vob 可以包含多个组件并且对于 Git 存储库来说太大而无法处理)
  • 仅在 git repo 中添加给定组件的最后几个基线(请参阅“ Git 中 clearcase 基线和 clearcase 活动的等效项?”)
  • 将 ClearCase 保持在只读模式以进行历史存档。

You will find a similar advice in:

您会在以下位置找到类似的建议:

You can try:

你可以试试: