git rm用于从工作区和索引中删除文件
git rm
git rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] <file>…
转载于易百教程