Hi, I have accidentally deleted some untracked files how do recover them?
Thanks
Recover Deleted Untracked file
bschaaf
#2
“Delete” runs git clean
, which permanently deletes the file(s). This has a number of answers which may work for restoring the file: https://stackoverflow.com/questions/6267180/can-i-restore-deleted-files-undo-a-git-clean-fdx. You may also have luck with a data recovery tool.
0 Likes
Thanks for the reply. Yeah, I have gone through the answers, some answers refer to recovery from local history but for this, the application needs to run using Jetbrains IDE, Here I am using sublime text 3.
Here is no option for view local history or something.
0 Likes
bschaaf
#4
If you still have the file open in Sublime Text you can simply save it. Otherwise ST will not have a record of it. If you’ve ever staged the file there will be a record of it in git fsck
.
0 Likes