git 如何删除本地未提交的文件

git checkout .

git clean -xdf

原文地址:https://www.cnblogs.com/greenboy/p/4738483.html