git 删除未提交的文件

1 git checkout . && git clean -xdf
原文地址:https://www.cnblogs.com/jingjingdidunhe/p/8667872.html