I see that with python 3, there is a __pycache__ in each subfolder of my application and of course *.pyc files will be created there as well. In my .gitignore of my app's root folder, can I simply place:
**/__pycache__
**/*.pyc
to have these ignored in all future subfolders created? Or do I need to place a .gitignore in each and every subfolder ?
On a related note, how do I check what all is being untracked (ignored). I tried "git status -u" and it does not show __pycache__ or .pyc files as being untracked.