Apply a range of commits inclusively.
Section: Cherry-pick Workflows
Cherry-pick a contiguous range
bash
bash
git cherry-pick <start_sha>^..<end_sha>Explanation
Common syntax for selecting a continuous segment of commits.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Cherry-pick Workflows
Cherry-pick one commit
Apply the changes introduced by one commit onto the current branch.
Cherry-pick a merge commit
Apply changes from a merge commit relative to a chosen parent.
Continue cherry-pick after conflicts
Resume a paused cherry-pick sequence.
Start bisect with good and bad revisions
Initialize bisect and mark boundaries.