忽略已经跟踪的文件

git update-index --assume-unchanged <file> 一次只能指定一个文件
原文地址:https://www.cnblogs.com/xcwytu/p/3784175.html