Add .gitattributes to enforce LF line endings for shell scripts

This fixes issues when running scripts in WSL where CRLF line endings
cause 'No such file or directory' errors. Also add a fix_line_endings.sh
script for users who already have the wrong line endings.
This commit is contained in:
Claude
2025-11-13 20:07:57 +00:00
parent d288b2896f
commit 4c0b3429f0
2 changed files with 20 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Ensure shell scripts always use LF line endings
*.sh text eol=lf