# 统一换行符:文本文件入库为 LF,检出时按平台自动转换 * text=auto # .bat 必须是 CRLF(Windows 批处理遇 LF 会出错) *.bat text eol=crlf # 源码与数据文件用 LF *.py text eol=lf *.html text eol=lf *.json text eol=lf *.txt text eol=lf *.md text eol=lf