Git: Ignore local changes to a tracked file Useful for local config overrides. Ignore local modifications. git update-index --assume-unchanged path/to/file.ext Re-enable change tracking for the file. git update-index --no-assume-unchanged path/to/file.ext