命令:git update-index --assume-unchanged FILENAME       路径+文件名

若以后不想忽略该文件的修改,则输入命令:git update-index --no-assume-unchanged FILENAME