# Normalize line endings and mark binary files # Default: let Git manage line endings * text=auto # Source files use LF in repo *.js text eol=lf *.jsx text eol=lf *.ts text eol=lf *.tsx text eol=lf *.json text eol=lf *.css text eol=lf *.scss text eol=lf *.md text eol=lf *.yml text eol=lf *.yaml text eol=lf *.svg text eol=lf *.sh text eol=lf # Windows scripts keep CRLF *.ps1 text eol=crlf *.bat text eol=crlf *.cmd text eol=crlf # Images and binaries *.png binary *.jpg binary *.jpeg binary *.gif binary *.webp binary *.ico binary *.pdf binary