I have some entries in my .gitignore file in my git repository but some of the entries still show up as untracked files.
The important parts from my .gitignore file:
# IDE settings .idea/ # Environments win_venv/ # Byte-compiled / optimized / DLL files __pycache__/ # Distribution / packaging *.egg-info/ However, when I run git status, this shows up:
Untracked files: (use "git add <file>..." to include in what will be committed) .idea/ mypackage.egg-info/ mypackage/__pycache__/ mypackage/schema/__pycache__/ mypackage/schema/models/__pycache__/ mypackage/tests/__pycache__/ win_venv/ Anyone knows, why this can happen or what the mistakes in my .gitignore file are?
This question is different to the answer suggested, as shown files are not tracked. This issue also happens, if I create a new virtual environment venv, having the appropriate entry in the .gitignore file.
.gitignorelocated?