This should finally work for my .gitignore file. Previous format was wrong.