diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..7aaa46f45 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Normalise text files to LF across platforms. +* text=auto eol=lf + +# Keep Windows command scripts in CRLF for compatibility. +*.bat text eol=crlf +*.cmd text eol=crlf