I'm pretty sure it doesn't make sense to have a .gitignore file in a subfolder.  It has to be in the repo root (where there already is one).