I mistakenly pulled a master branch in to develop branch and committed some changes.
I want to revert the pull and the commit.
I tried this command
git revert <commit hash>
but it gives me following error
commit <commit hash> is a merge but no -m option was given.
How to revert a pull and commit?