gitignore: ignore ALL database/*.db (+ -shm/-wal/backup), not just music_library
video_library.db wasn't covered, so it showed up as untracked and could be committed by accident (live user data). Generalize the database patterns to a glob so every current/future app DB is auto-ignored. database/*.py sources are unaffected. (config/youtube_cookies.txt was already ignored — it only slipped through earlier because it had been force-staged.)
This commit is contained in:
parent
4c47c01076
commit
0f2d6ddb63
1 changed files with 5 additions and 4 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
|
@ -13,10 +13,11 @@ __pycache__/
|
|||
# User-specific files (auto-created by the app if missing)
|
||||
config/config.json
|
||||
config/youtube_cookies.txt
|
||||
database/music_library.db
|
||||
database/music_library.db-shm
|
||||
database/music_library.db-wal
|
||||
database/music_library.db.backup_*
|
||||
# All app databases are live user data — never commit (music_library, video_library, …)
|
||||
database/*.db
|
||||
database/*.db-shm
|
||||
database/*.db-wal
|
||||
database/*.db.backup_*
|
||||
database/api_call_history.json
|
||||
storage/image_cache/
|
||||
logs/*.log
|
||||
|
|
|
|||
Loading…
Reference in a new issue