# To cherry-pick all the commits from commit A to commit B (where A is older than B), run:
git cherry-pick A^..B
# If you want to ignore A itself, run:
git cherry-pick A..B
# A and B are commits
# A is older than B
git cherry-pick A^..B
# to ignore A itself, run:
git cherry-pick A..B
To cherry-pick all the commits from commit A to commit B (where A is older than B), run:
git cherry-pick A^..B
If you want to ignore A itself, run:
git cherry-pick A..B
git cherry-pick A^..B
Let's say the history is A-B-C-D-E-F-G, and you'd like to cherry-pick C-D-E-F.
any of the following will work
git cherry-pick B..F
or
git cherry-pick C^..F
or
git cherry-pick C D E F