Run the following command:
git reset --merge ORIG_HEAD
The reference ORIG_HEAD will point to the original commit from before the merge.
Here, in the command mentioned above, --merge option has nothing to do with the merge. It is almost like git reset --hard ORIG_HEAD command, but safer since it doesn't touch uncommitted changes.
For more information please go through the following tutorial to get more info about git: