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
My problem was that I wrote down files to ignore with quotes " " separation not with slash /.
This did not work and was ignored by git :
"db.sqlite3" "tdd_venv/"
This worked just fine :
/db.sqlite3 /tdd_venv/
I also checked my file encoding in windows with Notepad++. Encoding was set to UTF-8.