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
Mine wasn't working because I've literaly created a text document called .gitignore
Instead, create a text document, open it in Notepad++ then save as .gitignore
Make sure to pick All types (*.*) from the dropdown when you save it.
Or in gitbash, simply use touch .gitignore
touch .gitignore