You are on main, which was the first parent of the merge. Which command undoes the merged-in changes?
$ git revert 77335ab error: commit 77335ab... is a merge but no -m option was given. fatal: revert failed
git revert --no-ff 77335abgit revert -m 1 77335abgit reset --merge 77335abgit revert -m 2 77335ab
-m 1 tells Git to revert relative to the first parent (the mainline), undoing what the second parent brought in.