合并从clearcase标签到git分支的更改 [英] Merge changes from clearcase label to git branch

查看:65
本文介绍了合并从clearcase标签到git分支的更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用clearcase和git进行版本控制。

我有一种情况,我的同事在透明情况下对开发人员标签的更改很少。现在我想将这些特定的更改拉到git分支。

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?

推荐答案

是的,使用选择该标签的配置规范制作快照视图。

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

然后从单独的git工作树文件夹中执行

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

这将指示git从您的文件中添加文件修改快照视图。

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

这篇关于合并从clearcase标签到git分支的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆