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?>
I noticed that the encoding of the .gitignore was having an effect--if the file was Unicode, it was ignored, if it was ASCII, it wasn't.
Process:
PS> git status.gitignore's encoding: PS> Get-FileEncoding .gitignorePS> Set-Content .gitignore -Encoding Ascii -Value (Get-Content .gitignore)PS> git status