# ========== 默认：一切文件都是二进制（绝对禁止任何换行符转换）==========
* -text

# ========== 纯文本后缀：允许 LF 归一 ==========
*.adoc text eol=lf
*.bash text eol=lf
*.c text eol=lf
*.cfg text eol=lf
*.conf text eol=lf
*.cpp text eol=lf
*.css text eol=lf
*.csv text eol=lf
*.env text eol=lf
*.go text eol=lf
*.h text eol=lf
*.hpp text eol=lf
*.htm text eol=lf
*.html text eol=lf
*.ini text eol=lf
*.java text eol=lf
*.js text eol=lf
*.json text eol=lf
*.jsx text eol=lf
*.less text eol=lf
*.md text eol=lf
*.ps1 text eol=lf
*.py text eol=lf
*.rs text eol=lf
*.rss text eol=lf
*.rst text eol=lf
*.scss text eol=lf
*.sh text eol=lf
*.sql text eol=lf
*.svg text eol=lf
*.tex text eol=lf
*.toml text eol=lf
*.ts text eol=lf
*.tsv text eol=lf
*.tsx text eol=lf
*.txt text eol=lf
*.vue text eol=lf
*.xml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.zsh text eol=lf

# ========== Docker 相关 ==========
Dockerfile* text eol=lf
*.dockerfile text eol=lf
.dockerignore text eol=lf

# ========== Windows 批处理保留 CRLF ==========
*.cmd text eol=crlf
*.bat text eol=crlf
