unstaged files gone after git reset –hard

It’s not clear if you lost files in your working directory, or files in the index. You say you lost your “unstaged files”, but then you mention you might have run “git add”. “unstaged files” are lost for good. Staged files can be recovered with git fsck –full –unreachable –no-reflog For each file added there … Read more