# Standard: alles als Text behandeln und LF speichern * text=auto eol=lf # Beispiel für Ausnahmen *.png binary *.jpg binary # Shell-Skripte: immer LF *.sh text eol=lf # Windows-Batch-Dateien: immer CRLF *.bat text eol=crlf *.cmd text eol=crlf # Python, JS, HTML etc.: bevorzugt LF (aber nicht erzwungen) *.py text eol=lf *.js text eol=lf *.ts text eol=lf *.html text eol=lf *.css text eol=lf *.json text eol=lf *.yml text eol=lf *.yaml text eol=lf *.md text eol=lf # Konfigurationsdateien *.env text eol=lf *.conf text eol=lf *.ini text eol=lf # Binärdateien *.png binary *.jpg binary *.jpeg binary *.gif binary *.webp binary *.pdf binary *.ico binary *.ttf binary *.woff binary *.zip binary *.tar binary *.gz binary *.7z binary *.exe binary *.dll binary