Recently, I have been asked to cherry-pick
a commit.
So what does cherry-picking a commit in git mean? How do you do it?
If you want to merge without commit ids you can use this command
git cherry-pick master~2 master~0
The above command will merge last three commits of master from 1 to 3
If you want to do this for single commit just remove last option
git cherry-pick master~2
This way you will merge 3rd commit from the end of master.