From 0d9c92971ccf52e00c21f02377953c41f4072556 Mon Sep 17 00:00:00 2001 From: daniel-c-harvey Date: Thu, 4 Jun 2026 12:18:33 -0400 Subject: [PATCH] chore: add .gitattributes to enforce LF line endings for shell scripts, YAML, systemd units, and nginx configs --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5f16da2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Default: normalize all text files to LF on commit +* text=auto + +# Force LF for files that must be LF on Linux hosts +*.sh text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.service text eol=lf +*.conf text eol=lf