Merge changes from shortcut tag to git branch

We use clearcase and git for version control.
I have a situation where a colleague of mine has released several changes on a developer label in a clear case. Now I want to pull these specific changes into the git branch.

Is there a way to achieve this?

+1


source to share


1 answer


Yes, create a snapshot view with a configuration option selecting this label.

Then from your seperate 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

      

This will instruct git to add file changes from the snapshot view.

+1


source







All Articles