I have been searching for a solution to this mistake I did. Can't find it anywhere.
I was working on a larger change, and I did a commit --ammend to add this as a patch to my earlier smaller change. However, for some reason, I deleted the commit --ammend message in editor (which unfortunately deleted my commit as a whole). So I am now left without my changes, anywhere. Is there any way I can get my changes/files back?
ps I have learned my lesson not to keep the changes without committing them for very long. I would appreciate any help.