A 786
A 786

Reputation: 557

How to restore files deleted with git clean -f -x?

After using git clean -f -x I have lost some important files. Is there any way to get them back or at least can I check which files I have lost so that I can add them separately from other directories?

Upvotes: 0

Views: 746

Answers (1)

Matt
Matt

Reputation: 3760

git clean is similar to rm; it deletes the files from the file system. You can't undo the operation except by using a file system recovery utility of some kind.

Upvotes: 2

Related Questions