Answer the question
In order to leave comments, you need to log in
Why doesn't git ignore the specified files?
My .gitignore:
.vscode/
.idea/
__pycache__
.pytest_cache
env/
venv/
.env
.venv
git status
: Answer the question
In order to leave comments, you need to log in
The problem was related to the incorrect encoding of the .gitignore file, namely UTF-16 LE, which caused the rules to be interpreted incorrectly. When changing to UTF-8, it worked
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question