git игнорировать изменения в файле
git update-index --assume-unchanged [<file> ...]
## To undo and start tracking again (if you forgot what files were untracked):
git update-index --no-assume-unchanged [<file> ...]
Tiago F2