diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ffcc340 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +# Enforce LF line endings repo-wide. Commands here run on Linux; commits originate on +# Windows (Git Bash / GitHub Desktop). Git stores text as LF and checks out LF on every +# platform, preventing CRLF drift from Windows-side edits. +* text=auto eol=lf + +# Shell scripts MUST be LF -- a CRLF shebang or command line breaks execution. +*.sh text eol=lf +*.py text eol=lf