I made a terrible mistake and execute \"git reset --hard HEAD\", all day\'s the local modification lost, how can i recover it?
Thanks millions
You can use git reflog. It will show HEAD history. You can pick the hash that represents the HEAD status before the git reset --hard and use this hash in another git reset --hard .
git reflog
HEAD
git reset --hard