From a0df3a8a413cd69245a3a48dba99dc005a76f876 Mon Sep 17 00:00:00 2001 From: whm <973418690@qq.com> Date: Tue, 17 Mar 2026 01:44:21 +0800 Subject: [PATCH] fix: use LF for .sh scripts (.gitattributes) to fix bash\r on Linux Made-with: Cursor --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes 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