I'm looking for revert everything which not pushed into the remote branch. I have used git revert -m 1 <merge commit hash>
as in this question on StackOverflow but it is only reverting one commit which I'm not expecting. In my project I have,
One Merge
One Merge commit
Two other commits
I want to revert all by using some method. Any help would be greatly appreciated.