I have followings in the .gitignore file
application/config/database.php
application/config/config.php
But when I run git status both files are under modified. Isn’t that git should ignore these files? How should I do so that these files won’t be displayed.
Thanks in advance.
You have to stop tracking the file. You can do it by
and then
and commit