The Real, Complete Feature
git log --oneline feature/soup-specials -3
Three real commits, meant to travel together as one unit.
Cherry-Picking the Whole Range
git cherry-pick <oldest>^..<newest>
The ^ after the oldest hash means "starting from and including this commit" — without it, the range would begin one commit too late.
The Real, Middle Conflict
CONFLICT (content): Merge conflict in soup-specials.md
The first commit (a new file) applied cleanly. The second genuinely conflicts with fall-edition's own real, independent edit to the same shared file.
Resolving and Letting the Range Finish
git add soup-specials.md
git cherry-pick --continue
Once resolved, the range keeps going on its own — the third commit applies cleanly, with no further real intervention needed.
feature/soup-specials has three genuinely complete, real commits: a new autumn menu file, a real addition to the shared soup-specials.md, and a new winter menu file. All three belong together — cherry-picking them one at a time would work, but git's real A..B range syntax does all three in a single command.
print/fall-edition has, independently, its own real edit to that same shared soup-specials.md file. The first and third commits in the range apply perfectly cleanly — they touch different files entirely. The middle one does not: a real, genuine conflict, resolved by hand, exactly like every other real conflict this curriculum has covered.
git cherry-pick A..B
Applies every real commit from A (exclusive) through B (inclusive) as a single range operation. Confirmed directly in this lab: using A^..B instead genuinely includes A itself in the range, since ^ steps back to its real parent.
A real conflict during a range cherry-pick
Pauses the whole range exactly like a rebase conflict does — resolve the one real conflicting commit, then --continue lets the rest of the real range proceed automatically. Confirmed directly in this lab: the third commit applied with zero further intervention.
Takeaways
- git cherry-pick A^..B applies a whole real range of commits, from A itself through B, in one operation
- Each commit in the range is evaluated independently — some may apply cleanly, others may genuinely conflict
- Resolving a conflict mid-range and running --continue resumes the ENTIRE remaining range automatically
- This is the real, correct way to move a complete, multi-commit feature as one coherent unit, rather than commit by commit