1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
# 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
|