# 默认：文本文件使用 LF（Linux/macOS 风格）
* text=auto eol=lf

# Shell 脚本强制 LF，无论在哪个平台 checkout
*.sh text eol=lf

# Python 和 YAML 也用 LF
*.py text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.md text eol=lf
*.json text eol=lf
*.toml text eol=lf
*.txt text eol=lf
*.env text eol=lf
*.env.example text eol=lf

# Windows 脚本保留 CRLF
*.ps1 text eol=crlf
*.bat text eol=crlf

# 二进制文件不转换
*.pdf binary
*.png binary
*.jpg binary
*.csv binary
