I accidentally hit Git clean command in Visual Studio code, and I lost all my files. Is there any way to recover my files? Tried to find files with recovery programs, but no results.
Unfortunately, no, those files are gone. AFIK Git doesn't create any backup copyies.
According to the source code of the clean command it executes unlink
when you hit this command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With