We have done shelv in intelljIDEA and after that we performed git clean -f -d -x and we lost all the changes. How to retrieve my lost files.
Asked
Active
Viewed 561 times
-1
-
You cannot retrieve files you deleted with `git clean -f -d -x` using `git`, they're gone unless you have a backup. – Arkadiusz Drabczyk Jun 13 '19 at 16:42
-
What do you mean by `shelv`? There's no such git command. – choroba Jun 13 '19 at 16:42
-
1Possible duplicate of [Can I restore deleted files (undo a \`git clean -fdx\`)?](https://stackoverflow.com/questions/6267180/can-i-restore-deleted-files-undo-a-git-clean-fdx) – phd Jun 13 '19 at 17:18
-
https://stackoverflow.com/search?q=%5Bgit-clean%5D+undo – phd Jun 13 '19 at 17:19
1 Answers
2
You cannot. git clean -fdx
deletes all files permanently, so unless these files were stored anywhere else they are gone permanently.

Hauleth
- 22,873
- 4
- 61
- 112