Last Updated: September 09, 2019
·
1.38K
· acoomans

Ignore changes in a file already tracked by git

Ignore changes in a file already tracked by git:

git update-index --assume-unchanged FILE

and start tracking again:

git update-index --no-assume-unchanged FILE

1 Response
Add your response

There's also

git update-index --skip-worktree FILE

which is similar, but with different use cases.

See git update-index.

over 1 year ago ·