Here's my complete .gitignore
file for my Django project:
# Django Python Stack
*.py[cod]
*$py.class
# Django
*.log
*.pot
*.pyc
__pycache__/
local_settings.py
db.sqlite3
db.sqlite3-journal
media/
static/
# Environments
.env
venv/
# Visual Studio Code
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
.history/
.history
.ionide
*.code-workspace
and here are the staged changes:
So the launch.json
file I've explicitly excluded is still ignored:
What's the solution?