.gitattributes 196 B

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