# Set default behavior to automatically normalize line endings * text=auto # Common files should always use LF (Unix-style) line endings *.sh text eol=lf *.cs text eol=lf *.razor text eol=lf *.css text eol=lf *.html text eol=lf *.js text eol=lf *.json text eol=lf *.xml text eol=lf *.yml text eol=lf *.yaml text eol=lf # Docker files should use LF Dockerfile text eol=lf docker-compose*.yml text eol=lf # Config files should use LF *.conf text eol=lf *.config text eol=lf .env* text eol=lf # Batch scripts should always use CRLF (Windows-style) line endings *.bat text eol=crlf *.cmd text eol=crlf # Documentation should be normalized *.md text *.txt text