fix: use LF for .sh scripts (.gitattributes) to fix bash\r on Linux
Made-with: Cursor
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# 强制 shell 脚本使用 LF,避免在 Linux 上出现 bash\r 错误
|
||||
*.sh text eol=lf
|
||||
Reference in New Issue
Block a user