一次删除多个需要git rm的文件

For Git 1.x

 

This tells git to automatically stage tracked files — including deleting the previously tracked files.

For Git 2.0

To stage your whole working tree:

 

To stage just the current path:

 

from:https://blog.csdn.net/dahailantian1/article/details/79475644