git status shows a file that I have listed explicitly in my .gitignore file

Posted by metaperl on Stack Overflow See other posts from Stack Overflow or by metaperl
Published on 2010-05-24T14:36:54Z Indexed on 2010/05/27 18:21 UTC
Read the original article Hit count: 257

Filed under:

I have the following line in my .gitignore file:

var/www/docs/.backroom/billing_info/inv.pl

but when I type 'git status' I am told the following:

#   modified:   var/www/docs/.backroom/billing_info/inv.pl

I dont understand how a file which is explicitly listed as an ignore pattern could be listed as modified when I want git to ignore it.

There are no lines starting with a ! in my .gitignore file

Here is my entire .gitignore file for reference: http://pastebin.com/Jw445Qd7

© Stack Overflow or respective owner

Related posts about git