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
  • 254,901
  • 44
  • 429
  • 631
vuvu
  • 4,886
  • 12
  • 50
  • 73

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
  • 345
  • 3
  • 11