git: find out which files are ignored and why
i had a very large global ignore list (tex/vim/linux/python specific stuff) and in this one repo git didnt add one specific folder. as it turned out the global ignore list blocked it.
to figure out which files are ignored:
[code language="bash"]
$ cd <git-folder>
$ git ls-files --others -i --exclude-standard
[/code]
and to figure out why one specific folder/file is ignored issue:
[code language="bash"]
$ git check-ignore <path>
[/code]