# Auto detect text files and perform LF normalization * text=auto # Shell scripts must use LF line endings (Unix style) *.sh text eol=lf # Batch/PowerShell scripts can use CRLF (Windows style) *.bat text eol=crlf *.cmd text eol=crlf *.ps1 text eol=crlf # Python scripts should use LF *.py text eol=lf # Common text files *.md text *.txt text *.json text *.yaml text *.yml text *.toml text # Binary files (no line ending conversion) *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.zip binary *.tar binary *.gz binary *.pdf binary