0 votes
1 view
in Devops and Agile by (28.1k points)

I have the following repository layout:

master branch (production)

integration

working

What I want to achieve is to cherry-pick a range of commits from the working branch and merge it into the integration branch. I pretty new to git and I can't figure out how to exactly do this (the cherry-picking of commit ranges in one operation, not the merging) without messing the repository up. Any pointers or thoughts on this? Thanks!

1 Answer

0 votes
by (48k points)

When it comes to a range of commits, cherry-picking was not practical.

git cherry-pick" learned to pick a range of commits

(e.g. "cherry-pick A..B" and "cherry-pick --stdin"), so did "git revert"; these do not support the nicer sequencing control "rebase [-i]" has, though.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...