gitignore: ignore all of backup/, not just SQL dumps
The backup/*.sql* patterns missed pre-change .env copies, which hold live Stripe and SMTP secrets and were committable. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
83ffa7dbf8
commit
dd95353289
1 changed files with 4 additions and 2 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -9,8 +9,10 @@ __pycache__/
|
|||
.ruff_cache/
|
||||
.venv/
|
||||
venv/
|
||||
backup/*.sql
|
||||
backup/*.sql.gz
|
||||
# Everything under backup/ is operational data, never source: DB dumps and
|
||||
# pre-change .env copies (which hold live Stripe/SMTP secrets). The earlier
|
||||
# backup/*.sql* patterns missed the .env copies — ignore the whole directory.
|
||||
backup/
|
||||
*.egg-info/
|
||||
build/
|
||||
dist/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue