14 lines
306 B
Plaintext
14 lines
306 B
Plaintext
# 默认:Git 自动判定文本/二进制
|
|
* text=auto
|
|
|
|
# 源码与脚本:统一换行,避免 Windows 提交 CRLF 导致 shell 脚本损坏
|
|
*.go text eol=lf
|
|
*.mod text eol=lf
|
|
*.sum text eol=lf
|
|
*.sh text eol=lf
|
|
*.yaml text eol=lf
|
|
*.yml text eol=lf
|
|
*.sql text eol=lf
|
|
*.md text eol=lf
|
|
*.json text eol=lf
|