Git恢复误删文件

Step 1:git status
Step 2:git reset HEAD [ 被删除的文件或文件夹 ]
Step 3:git checkout [ 被删除的文件或文件夹 ]