# Auto-detect text files and normalize line endings to LF on commit * text=auto eol=lf # Java source *.java text eol=lf *.xml text eol=lf *.properties text eol=lf # Web *.html text eol=lf *.css text eol=lf *.js text eol=lf *.json text eol=lf # Python *.py text eol=lf # Docs *.md text eol=lf *.txt text eol=lf # Shell scripts *.sh text eol=lf # Windows scripts (keep CRLF) *.bat text eol=crlf *.cmd text eol=crlf *.ps1 text eol=crlf # Binary - do not diff or merge *.class binary *.jar binary *.war binary *.ear binary *.db binary *.sqlite binary *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.pdf binary *.docx binary *.xlsx binary *.zip binary