Reputation: 21
I clicked to discard all changes in vscode and all my files were deleted from desktop. How can I recover my files?
Upvotes: 1
Views: 52
Reputation: 510
Unfortunately, if the changes were uncommitted the changes are not stored in git so you cannot retrieve them. You can once check in your recycle bin, if the files are still open in vs code, you can keep hitting Ctrl+Z or Command+Z.
Upvotes: 1