Git isn't correctly ignoring a bin folder of one of my submodules. Any ideas why?
Here is git status in the submodule:
MBPR:$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# bin/
# gen/
Here is git status in the root:
MBPR:$ git status
# On branch develop
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: cwac-loaderex (untracked content)
#
Here is my .gitignore:
MBPR:$ cat .gitignore
.metadata
bin
gen
local.properties
This works correctly for other submodules, but for this submodule in particular it refuses to ignore the bin and gen folders. I have deleted and re-added this submodule repeatedly, to no avail.
Thanks!