# Autodetect text files # # In addition: # Windows developers should set: # git config --global core.autocrlf true # UNIX / MacOS develoers should set: # git config --global core.autocrlf input * text=auto # # And configure default EOL terminators for various text types # # Explicitly declare text files you want to always be normalized and converted # to native line endings on checkout. *.java text *.properties text *.xml text *.xsd text *.dtd text *.MF text *.md text *.html text *.tld text *.json text # Declare files that will always have CRLF line endings on checkout. *.cmd text eol=crlf *.bat text eol=crlf # Because *nix editors / paginators can handle either way, but braindead # Windoze notepad which is used by default to handle text files in Windows, # not so much, we also make the concession here to use CRLF for EOL. *.txt text eol=crlf # Ditto for Eclipse related preferences *.prefs text eol=crlf # Declare files that will always have LF line endings on checkout *.sh text eol=lf *.bsh text eol=lf *.ksh text eol=lf # Eclipse stuff .settings/* text eol=crlf .classpath text eol=crlf .project text eol=crlf # Miscellaneous text .gitattributes text eol=lf .gitignore text eol=lf *.MF text eol=crlf LICENSE text eol=crlf LICENSE-CONTENT text eol=crlf LICENSE-README text eol=crlf # Denote all files that are truly binary and should not be modified, # or simply replaced in whole if committed. *.jpg binary *.JPG binary *.png binary *.jks binary *.ser binary *.doc binary *.docx binary *.xls binary *.xlsx binary *.pptx binary *.odt binary *.pdf binary *.zip binary *.jar binary *.war binary *.ear binary *.7z binary *.rar binary *.tgz binary *.tar binary