error: commit is a merge but no -m option was given. revert code example
Example 1: git revert to old commit
git reset --hard c14809fa
Example 2: undo reset commit git
git reflog //to get commitID
git reset #commitID
git reset --hard c14809fa
git reflog //to get commitID
git reset #commitID