git 恢复本地误删文件

git status 

git reset HEAD 路径(git status 会显示的路径)

git checkout 路径

原文地址:https://www.cnblogs.com/wujialin/p/10422511.html