I merged some bad files 2 commits ago. I wish to bring my branch back to the state it was at the 3rd last commit.
I have looked up the commit hash and tried:
git revert 112233445556etc
but get the error:
error: Commit 112233445556etcis a merge but no -m option was given. fatal: revert failed
I can't seem to find any information on Google, apart from git revert.
Would anyone know of the correct way to do this?