Ignore changes:
git update-index --assume-unchanged
Un-ignore changes:
git update-index --no-assume-unchanged
[source]