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
I too have the same issue on Ubuntu, I created the .gitignore from the terminal and it works for me
touch .gitignore