git 本地删除修改文件后从远程拉取

单个文件
git checkout a.php
当前目录
git checkout .

原文地址:https://www.cnblogs.com/-mrl/p/11942649.html