my project files unfortunately deleted while using cursor wrongly pressed then i realised my project not deleted. i get each files previous version of my git.my project commited only in local git but not in github.com. i can see my project files in vs code commits(all what i want).i tried all the things but i cannot get my last commit and i cannot overwrite and cannot get all deleted files in my local folder.
the above image show where my files stored in my last commit i want every deleted files and overwrite all the changed files.
i tried but not work for me
git reflo
git reset --hard 9a0ffad