Is there any way to recover uncommitted changes to the working directory from a git reset --hard HEAD?
git reset --hard HEAD
Yes, YOU CAN RECOVER from a hard reset in git.
Use:
git reflog
to get the identifier of your commit. Then use:
git reset --hard
This trick saved my life a couple of times.
You can find the documentation of reflog HERE.