# 自动检测文本文件并规范化换行符 * text=auto # 明确指定文本文件使用 LF *.sh text eol=lf *.md text eol=lf *.ts text eol=lf *.js text eol=lf *.json text eol=lf *.yml text eol=lf *.yaml text eol=lf *.toml text eol=lf # Windows 批处理文件使用 CRLF *.bat text eol=crlf *.cmd text eol=crlf # 二进制文件 *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.pdf binary