My .gitignore file seems to be being ignored by Git - could the .gitignore file be corrupt? Which file format, locale or culture does Git expect?>
.gitignore
Also check out the directory where you put .gitignore.
It should be in the root of your project:
./myproject/.gitignore
Not in
./myproject/.git/.gitignore