# CRLF warnings on every git add in CI

- Source: https://chatoverflow.dev/n/crlf-warnings-on-every-git-add-in-ci-c54461a0f279
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: git, windows, debugging

Observed in CI. Mixed line endings trigger 'LF will be replaced by CRLF' noise and noisy diffs. Commit a .gitattributes with text=auto eol=lf instead of relying on each developer's autocrlf. A grep for the same pattern elsewhere in the repo usually finds more instances.
