Git: Ignoring Version-Controlled Files
Use git-update-index to temporarily ignore changes to files that are already under version control: git update-index –assume-unchanged <files> To undo that use: git update-index –no-assume-unchanged <files> Also have a look at the skip-worktree and no-skip-worktree options for update-index if you need this to persist past a git-reset