git .ignore não está funcionando em um diretório
Tenho o seguinte arquivo .gitignore
# file named .gitignore
system/application/config/database.php
system/application/config/config.php
system/logs
modules/recaptcha/config/*
No entanto, quando adiciono alterações na configuração e no recapcha.php, o status do git me avisa da seguinte maneira. Quando adiciono alterações ao database.php. não mostra isso no status
shin@shin-Latitude-E5420:,/var/www/myapp$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
# 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: modules/recaptcha/config/recaptcha.php
# modified: system/application/config/config.php
#
no changes added to commit (use "git add" and/or "git commit -a")
Como posso consertar isso
Desde já, obrigado
Estou usando o git versão 1.7.5.1 no Ubuntu 11.04