From c4673f70e0f6941c809ce8d4b1a7d00793ceb830 Mon Sep 17 00:00:00 2001 From: MajorLinux Date: Fri, 13 Mar 2026 01:37:45 -0400 Subject: [PATCH] Add .gitattributes to enforce LF line endings --- .gitattributes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..df71be0 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +# Normalize line endings to LF for all text files +* text=auto eol=lf + +# Explicitly handle markdown +*.md text eol=lf + +# Explicitly handle config files +*.yml text eol=lf +*.yaml text eol=lf +*.json text eol=lf +*.toml text eol=lf + +# Binary files — don't touch +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.pdf binary