Add file to git, but do not track modifications
git update-index --assume-unchanged FILENAME
git update-index --no-assume-unchanged
Add file to git, but do not track modifications
git update-index --assume-unchanged FILENAME
git update-index --no-assume-unchanged