我可以恢复已删除的文件(撤消`git clean -fdx`)吗?

问题描述:

我正在按照制作github页面上的说明进行操作,却忘记了移入我的git子目录.结果,我只是使用git clean -fdx来替换整个文档目录.
有什么办法可以消除这个可怕的错误?

I was following the instructions on making github pages, and forgot to move down into my git sub directory. As a result, I just nuked an entire directory of documents with git clean -fdx.
Is there any way I can undo this terrible mistake?

否.这些文件不见了.

(只需在Linux上进行检查: git clean调用unlink() ,并且不会事先备份任何内容.)

(Just checked on Linux: git clean calls unlink(), and does not backup up anything beforehand.)