# Set default behavior to automatically normalize line endings
* text=auto

# Java sources
*.java text eol=lf
*.xml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.properties text eol=lf
*.sql text eol=lf
*.md text eol=lf
*.json text eol=lf
*.txt text eol=lf

# Build
*.gradle text eol=lf
pom.xml text eol=lf

# Shell scripts
*.sh text eol=lf

# 现场消费文件（Windows 检出必须保持 LF：.env 值尾随 \r 会毒化密码/compose 变量，
# Makefile 配方与 nginx.conf 同理；对应 Windows Server + Git Bash 部署路线）
.env.example text eol=lf
*.conf text eol=lf
Makefile text eol=lf

# Windows scripts
*.bat text eol=crlf
*.cmd text eol=crlf

# Docker
Dockerfile text eol=lf

# Binary files
*.jar binary
*.class binary
*.png binary
*.jpg binary
*.gif binary
*.ico binary
