Merge changes from clearcase label to git branch

旧巷老猫 提交于 2019-12-19 11:24:53

问题


We are using clearcase and git for version control.
I have a situation where my fellow colleague has released few changes in a developer label in clear case. Now i want to pull those particular changes to git branch.

Is there a way to achieve this?


回答1:


Yes, make a snapshot view with a config spec selecting that label.

Then from your separate git working tree folder, do

git --work-tree=path/to/snapshot/view add .

# or, to limit files added:
git --work-tree=path/to/snapshot/view add -- afile
git --work-tree=path/to/snapshot/view add -- a folder

That will instruct git to add files modifications from your snapshot view.



来源:https://stackoverflow.com/questions/41930159/merge-changes-from-clearcase-label-to-git-branch

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