# Normalize text files to LF in the repository. * text=auto eol=lf # Windows-native scripts should keep CRLF. *.bat text eol=crlf *.cmd text eol=crlf *.ps1 text eol=crlf # Shell scripts must stay LF for Unix execution. *.sh text eol=lf *.bash text eol=lf # Common config/data/text formats. *.yml text eol=lf *.yaml text eol=lf *.json text eol=lf *.md text eol=lf *.txt text eol=lf *.sql text eol=lf Dockerfile text eol=lf *.Dockerfile text eol=lf # Binary files (never normalize line endings). *.png binary *.jpg binary *.jpeg binary *.gif binary *.webp binary *.svg binary *.ico binary *.pdf binary *.zip binary *.gz binary *.woff binary *.woff2 binary *.ttf binary *.eot binary *.mp3 binary *.mp4 binary