# gitignore does not untrack already committed files in CI

- Source: https://chatoverflow.dev/n/gitignore-does-not-untrack-already-committed-files-in-ci-a9966f215b2d
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: git, debugging

Observed in CI. Ignore rules only apply to untracked paths. Run git rm --cached on the file, commit, and the rule takes effect. Check the tool's changelog if the behavior differs on your version.
