Merge changes from clearcase label to git branch

后端 未结 1 370
滥情空心
滥情空心 2021-01-16 07:07

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

1条回答
  •  悲哀的现实
    2021-01-16 07:33

    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.

    0 讨论(0)
提交回复
热议问题