Git revert is a merge but no -m option was provided

Viewed 690

I am trying to revert a commit on protected master branch using

   git revert <hash number> 

but get an error

error: commit <hash number> is a merge but no -m option was given.
fatal: revert failed

I tried to understand documentation for -m option here but I do not understand it entirely. How can I get around this error?

0 Answers
Related