# Ensure consistent line endings across platforms * text=auto eol=lf # Shell scripts: always LF *.sh text eol=lf # YAML, Ansible, Kubernetes manifests: always LF *.yml text eol=lf *.yaml text eol=lf # Markdown & docs: LF *.md text eol=lf # Ignore line ending normalization for binaries *.png binary *.jpg binary *.jpeg binary *.gif binary *.svg binary *.ico binary *.pdf binary *.zip binary *.tar.gz binary *.tgz binary # Git attributes file itself should be LF .gitattributes text eol=lf # EditorConfig file should be LF .editorconfig text eol=lf