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:
@@ -0,0 +1,2 @@
|
||||
# Ensure shell scripts always use LF line endings
|
||||
*.sh text eol=lf
|
||||
Reference in New Issue
Block a user