# start ignoring changes to a file: git update-index --assume-unchanged path/to/file # keep tracking again: git update-index --no-assume-unchanged path/to/file