git rm --cached <fileName>
例如 : git add 后,不想提交在status里的.idea/vcs.xml。操作如下:
git 取消对某个文件的跟踪
原文:https://www.cnblogs.com/cynthia-wuqian/p/10689378.html