git rm --cached <fileName> 例如 : git add 后,不想提交在status里的.idea/vcs.xml。操作如下: 转载于:https://www.cnblogs.com/cynthia-wuqian/p/10689378.html