# 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
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
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
# 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
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
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