git rm

git rm用于从工作区和索引中删除文件

git rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--] <file>…

转载于易百教程

原文地址:https://www.cnblogs.com/ovim/p/13586239.html