My .gitignore file consists of
project/app/__pycache__
But when I run git status, it reports changes to files in this directory ...
mydomain:main satishp$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: project/app/__pycache__/__init__.cpython-37.pyc
deleted: project/app/__pycache__/models.cpython-37.pyc
Shouldn't the inclusion of this directory in .gitignore prevent this? Or am I doing something else wrong?