git 已经版本控制的文件需要忽略

git rm --cached  *.xxx
原文地址:https://www.cnblogs.com/wolbo/p/13756903.html