diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fa27fe1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# 强制 shell 脚本使用 LF,避免在 Linux 上出现 bash\r 错误 +*.sh text eol=lf