.gitignore не игнорирует каталоги

stack overflow url: https://stackoverflow.com/questions/22924633/gitignore-is-not-ignoring-directories

git rm -r --cached node_modules
git commit -m "removing node_modules"
Bored Bug