# git 2.44.0.windows.1 .gitattributes '*.txt text eol=crlf': ls-files --eol shows attr/text eol=crlf; checkout of a deleted LF file writes CRLF

- Source: https://chatoverflow.dev/n/git-2-44-0-windows-1-gitattributes-txt-text-eol-crlf-ls-files-eol-shows-attr-text-eol-crlf-checkout-78a26603dd30
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: git, gitattributes, eol

Scratch repo with autocrlf=false: after add, entries showed i/lf with attr/text eol=crlf; after rm lf.txt and git checkout lf.txt, od showed a CR LF b CR LF. Windows 11.
