Most of the previous threads are asking how to undo the last commit. But I was wondering if is possible to undo the last uncommit. I ran git reset --hard HEAD^
but it didn't uncheckout all the files that were committed and now they are deleted.
How to commit the last un-commit action?