.gitattributes Generator
Set line-ending defaults, per-extension overrides, generated files, export-ignore, and LFS patterns — copy a ready .gitattributes.
native emits a bare * text=auto — git normalizes to LF in the repo and checks out with platform line endings.
Line endings by extension
.gitattributes
* text=auto eol=lf # Generated by LILIL .gitattributes Generator # Line endings *.bat text eol=crlf