diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..44ce2f0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,25 @@ +# Enforce LF line endings on commit for all text files +* text=auto eol=lf + +# Explicit overrides for files that must keep specific endings +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Binary files — never touch +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.pdf binary +*.db binary +*.sqlite binary +*.sqlite3 binary +*.zip binary +*.tar binary +*.gz binary +*.woff binary +*.woff2 binary +*.ttf binary +*.eot binary