Is there any way to recover uncommitted changes to the working directory from a git reset --hard HEAD?
git reset --hard HEAD
if you accidentally hard reset a commit, then do this,
git reflog show git reset HEAD@{2} // i.e where HEAD used to be two moves ago - may be different for your case
assuming HEAD@{2} is the state you desire to go back to
HEAD@{2}