Tricks Ignore local changes in tracked files Ignore the changes of this file: git update-index --assume-unchanged <file> And to undo: git update-index --no-assume-unchanged <file>