Say you are in a branch topic, you have been working for a while and want to merge in some commits from master.
You run git merge and there are a few conflicts. But you don't have time to resolve the merge conflicts now, and you want to return to the state that you were in before running git merge.
There are three ways of which I know to do this:
git merge --abortgit reset --mergegit reset --hard HEAD?
Is any one of the three acceptable? What is the difference between them in this case?