wangxi 3 주 전
부모
커밋
89ea7a514b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      .gitattributes

+ 4 - 0
.gitattributes

@@ -0,0 +1,4 @@
+# 保证 shell 脚本在仓库内和所有检出平台都使用 LF 换行,
+# 避免 Windows CRLF 导致 Linux 服务器上 sh/dash 报 “Illegal option -”
+*.sh text eol=lf
+*.bash text eol=lf