Receive the following error when I try to revert a commit:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st revert --no-edit cc158e3f4f17dd49ef0c75ecd7f9c449e52307f8
error: commit cc158e3f4f17dd49ef0c75ecd7f9c449e52307f8 is a merge but no -m option was given.
fatal: revert failed
The reason for this revert attempt is that I merged the wrong branch into the current branch. So before the revert, I reset (In Source Tree) a few of the files back to their previous commit, and discarded all of the items from my working copy, however, this didn't cleanup history, so I tried reverting the commit, but received the above error.
Is there a way that I can clean up the history or revert the changes back to what they were originally?