[Solved] Who can help me in fixing the cherry-pick Git error? [closed]


From https://git-scm.com/docs/git-cherry-pick

-m parent-number

–mainline parent-number
Usually you cannot cherry-pick a merge because you do not know which side of the merge should be considered the mainline. This option specifies the parent number (starting from 1) of the mainline and allows cherry-pick to replay the change relative to the specified parent.

I guess you are trying to give a merge commit to cherry-pick. You need to specify the parent-number in such cases.

1

solved Who can help me in fixing the cherry-pick Git error? [closed]