【问题标题】:Restore All Deleted Files to the Current Working Directory from Git从 Git 恢复所有已删除的文件到当前工作目录 【发布时间】:2020-07-02 05:20:25 【问题描述】: 我不小心从我的项目中删除了前端目录中的所有文件。这是我拥有一切的地方。我可以在 changes 窗格中看到所有这些文件,并标有 D。有什么方法可以让我完全找回所有东西。 现在,这就是我当前项目的样子 【问题讨论】: 标签: reactjs git github git-commit 【解决方案1】: 使用“git reset --hard” 【讨论】: