# Handle line endings automatically for files detected as text # and leave all files detected as binary untouched. * text=auto # Never modify line endings of our bash scripts *.sh -crlf # # The above will handle all files NOT found below # # These files are text and should be normalized (Convert crlf => lf) *.css text *.html text *.java text *.js text *.ts text *.jsx text *.tsx text *.json text *.properties text *.txt text *.xml text # These files are binary and should be left untouched # (binary is macro for -text -diff) *.class binary *.jar binary *.gif binary *.jpg binary *.png binary