Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cherry pick multiple commits

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cherry #pick #multiple #commits
ADD COMMENT
Topic
Name
2+8 =