diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2038e76 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# 行尾规范:文本文件统一 LF,Windows 批处理保留 CRLF +* text=auto eol=lf +*.bat text eol=crlf +*.cmd text eol=crlf