.gitattributes Generator

Set line-ending defaults, per-extension overrides, binary patterns, generated files, export-ignore, and LFS — copy a ready .gitattributes.

Default line endings

native emits a bare * text=auto — git normalizes to LF in the repo and checks out with platform line endings.

Marks common binary formats (images, fonts, archives, documents) as binary so git never EOL-normalizes or diffs them.

Line endings by extension

.gitattributes
* text=auto eol=lf
# Generated by LILIL .gitattributes Generator

# Line endings
*.bat text eol=crlf