1

After the failed cherry pick, it says that no -m option was given. What can I do to make the cherry pick work?

Terminal:

 git cherry-pick abcdeeee
 error: Commit abcdeeee is a merge but no -m option was given.
 fatal: cherry-pick failed
Keith Thompson
  • 242,098
  • 41
  • 402
  • 602
vuvu
  • 4,112
  • 9
  • 37
  • 57

1 Answers1

2

You apparently tried to cherry-pick a merge, which is a specific kind of commit (a commit with 2 parents).

To cherry pick this kind of commit you need to specify the option -m

Best regards,

Etienne Cha
  • 325
  • 2
  • 10