Answer the question
In order to leave comments, you need to log in
How to exclude all pycache directories from the index?
I have a python project. As it develops, a __pycache__ directory appears in each directory. When pushing to git, I exclude this directory from the index like this:
.gitignore
venv
/__pycache__
/app/__pycache__
*/__pycache__
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question