git 忽略已入库的文件的更新
Fortunately GIT has a very easy solution for this, just run the following command on the file or path you want to ignore the changes of:
git update-index –assume-unchanged
If you wanna start tracking changes again run the following command:
git update-index –no-assume-unchanged