How to remove a tracked file after a .gitignore update

git update-index --assume-unchanged

source:

stackoverflow

Scroll to Top