Backups, backups, backups.
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Jesus saves, and so should you
If the files were already staged then git should have blobs in the git folder, so they should be recoverable.
Did you read the thread? There was a bug that deleted all files even ones unassociated with git.
i mean doesn't it just integrate with explorer/tortoisegit so all the files would go to the recycle bin anyway?
either that or this: https://stackoverflow.com/a/72695095
Step 1: Enter Ctrl + Shift + P on VSC
Step 2: Choose the option "Local History: Find Entry to Restore"
Step 3: Find the file which you want to restore
Step 4: Choose a time you save that file
Step 5: Copy file content and restore it
Typical web developer. He didn’t even know files can be deleted without going into „recycle bin”