git忽略已经加入版本控制的文件 git update-index --assume-unchanged logs/*.log 来源:https://www.jianshu.com/p/2345b2aede59