This is my .gitignore
file:
*.iml
*.conf
So I forced to add a file named settings.conf
and now I want Git stop tracking changes on this file.
I tried with git rm --cached settings.conf
but it removes the file from git repository. I want this file to stay on git repository but do not detect changes.
I also tried git update-index --assume-unchanged settings.conf
and got : fatal: Unable to mark file settings.conf
Thanks in advance.