0

I want to publish my local repository to github through click publish button in vscode. I forget adding .gitignore file, so too many files are added and vscode tip me to ignore node_modules, I forget what I clicked, .gitignore file is generated automatically, and then git seems crash. All files under folder are lost.

files under folders all disappeared.

enter image description here

no commit log, so I can't rollback version.

enter image description here

only left one untracked change: .gitignore file

enter image description here

git fsck --lost-found can find a large number of dangling blobs.

enter image description here

How can I retrieve them, they are very important, and I really need your Help!!!

shuaige
  • 103
  • 4

0 Answers0