diff --git a/.gitattributes b/.gitattributes index 0b217dc..4eecca1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,6 @@ *.js linguist-language=PHP *.css linguist-language=PHP *.html linguist-language=PHP + +# Shell脚本始终使用LF行尾,避免Windows挂载到Docker时CRLF报错 +*.sh text eol=lf