fix: use LF for .sh scripts (.gitattributes) to fix bash\r on Linux

Made-with: Cursor
This commit is contained in:
whm
2026-03-17 01:44:21 +08:00
parent b624bac9b0
commit a0df3a8a41

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
# 强制 shell 脚本使用 LF避免在 Linux 上出现 bash\r 错误
*.sh text eol=lf