diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d74e4a8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +# Auto-detect text files and normalize them to LF in the working tree on +# checkout, regardless of each contributor's global git config. +* text=auto eol=lf + +# Shell scripts must use LF line endings — a CRLF on the shebang line makes +# the kernel look for "/bin/bash\r" and fail with "bad interpreter". +*.sh text eol=lf