my issue is not the same as Why doesn't gitignore work in this case? nor .gitignore is not working
files/conf.php is already in .gitignore, but git status still shows its modification, why?
i mean this file should not be tracked if it is in .gitignore...
cat .gitignore
files/conf.php
[root@home blogmi]# git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: files/conf.php
#
no changes added to commit (use "git add" and/or "git commit -a")