# 强制 LF 行尾(防止 Windows 工具引入 CRLF 导致 bash 报错) * text=auto eol=lf # 显式标记常见脚本/配置类型 *.sh eol=lf *.bash eol=lf *.py eol=lf *.md eol=lf *.yml eol=lf *.yaml eol=lf *.cfg eol=lf *.example eol=lf Dockerfile eol=lf