I have a file config-dev.php which will be used as a dev version config.
Now, another developer wants to make his own changes in this file.
When he commits, this file is commited and my config-dev.php is overwritten by the file from my coworker.
this file is in .gitignore but it is still not working.
How do I remove this file from git index so everyone can have its own config-dev.php?
I tried git rm --cached config-dev.php
but it is still not working. Should this command be executed by all the coworkers? or should I sync after git rm??