I just completed a very difficult merge, but some time during the merge I did something that caused git to loose track of the fact that I was merging (I probably did git reset or something).
Now all the files I have locally are correctly merged, but I can't finish the merge since git doesn't know I'm merging. Any idea how to get out of this problem? The merge took a really long time, so I don't want to manually do it again. Basically I want to keep the local state exactly as it is, but just inform git that it should create a merge commit (from the current branch and a specific other branch) instead of a regular commit.