# Normalize line endings on commit; check out LF on every OS. * text=auto eol=lf # Binary files — never touch line endings. *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.webp binary *.pdf binary *.zip binary *.gz binary *.tar binary *.woff binary *.woff2 binary *.ttf binary *.otf binary *.eot binary *.mp4 binary *.mov binary *.wasm binary # Shell scripts must stay LF regardless. *.sh text eol=lf # Windows batch / PowerShell must stay CRLF. *.bat text eol=crlf *.cmd text eol=crlf *.ps1 text eol=crlf