Git - ClearCase methodology

跟風遠走 提交于 2019-12-08 07:39:30

问题


I wants to migrate projects form CC to Git.
I'm looking for guidelines or recommendation how to do it (not technical methods).
for example, if I have 5 UCM components, do I need to create repository for each component or to create one repository with 5 folders?

I'm familiar with CC methods. Do you have some relevant links?


回答1:


You have some guidelines in my old answer "ClearCase to Git migration" (2014), but more generally, I would add (2016):

ClearCase being centralized, there is no limit in size for a Vob or even an UCM component (be it an UCM Vob, or a top folder within an UCM Vob).
So while the rule of thumb is one git repo per UCM component, it needs to be checked against the actual characteristic of said component.

Since a git repo represents an history of "snapshots" (not the ClearCase snapshots, but more like ClearCase tags), I only import ClearCase baselines into a git repo, not intermediate versions per files. The baseline applies to all files in an UCM component, which is more inline with git commits.



来源:https://stackoverflow.com/questions/37050902/git-clearcase-methodology

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!