# 默认自动处理行结束符 * text=auto # Python 文件使用 LF *.py text eol=lf # Shell 脚本使用 LF *.sh text eol=lf # Windows 批处理文件使用 CRLF *.bat text eol=crlf *.cmd text eol=crlf # 配置文件使用 LF .config text eol=lf .config.* text eol=lf # Markdown 文档使用 LF *.md text eol=lf # 二进制文件 *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.mov binary *.mp4 binary *.mp3 binary *.zip binary *.psd binary