git/.config/git/attributes

# git/.config/git/attributes
# Global gitattributes. Set via `git config --global core.attributesFile`.

# Normalize text files: LF in the repo, native in the working tree.
* text=auto

# Explicit: force LF for shell/config.
*.sh       text eol=lf
*.zsh      text eol=lf
*.bash     text eol=lf
.gitignore text eol=lf
Makefile   text eol=lf

# Force CRLF for Windows batch.
*.bat      text eol=crlf
*.cmd      text eol=crlf

# Binary: skip newline normalisation and diffs.
*.png      binary
*.jpg      binary
*.jpeg     binary
*.gif      binary
*.ico      binary
*.pdf      binary
*.zip      binary
*.gz       binary
*.tar      binary
*.woff     binary
*.woff2    binary