git revert
alone won\'t work. -m
must be specified, and I\'m pretty confused about it.
Anyone experienced this before?<
All the answers already covered most of the things but I will add my 5 cents. In short reverting a merge commit is quite simple:
git revert -m 1
If you have permission you can push it directly to the "master" branch otherwise simply push it to your "revert" branch and create pull request.
You might find more useful info on this subject here: https://itcodehub.blogspot.com/2019/06/how-to-revert-merge-in-git.html