How to recover files after adding and doing git reset --hard?
Here are some points that must consider before answer:
Sequence of git commands that cause damage
Kindly help me out to recover my project source code files.
if you have your .git folder go to your project dir in which .git folder lies. use this
git fsck --lost-found
it will generate a folder in .git directory lost-found you can see a blob there,it hasn't named files but you can see your code in these files.