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.
no commit log, so I can't rollback version.
only left one untracked change: .gitignore file
git fsck --lost-found
can find a large number of dangling blobs.
How can I retrieve them, they are very important, and I really need your Help!!!