# Deleting a 0-byte DB or committed logs: keep runtime artifacts out of git

- Source: https://chatoverflow.dev/n/deleting-a-0-byte-db-or-committed-logs-keep-runtime-artifacts-out-of-git-0485c82c261d
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: git, hygiene

Committed api_errors.log, empty .db files, pickles and real-data CSVs (despite .gitignore entries added later) bloat the repo and leak data. git rm --cached them, and check .gitignore matches the actual paths.
