我可以撤销`git clean -fdx`吗? [英] Can I undo a `git clean -fdx`?
本文介绍了我可以撤销`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?
推荐答案
不。这些文件都没有了。
No. Those files are gone.
(刚刚在Linux上检查过: git clean calls unlink()
,并且不会预先备份任何东西。)
(Just checked on Linux: git clean calls unlink()
, and does not backup up anything beforehand.)
这篇关于我可以撤销`git clean -fdx`吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文