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
Written by Arnaud Coomans
Related protips
1 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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#