Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code Git clean recovery

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.

like image 324
Matija Lukic Avatar asked Aug 02 '15 20:08

Matija Lukic


1 Answers

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.

like image 98
neshkeev Avatar answered Oct 07 '22 16:10

neshkeev