Add .gitattributes for consistent eol handling

This commit is contained in:
cpfeiffer 2018-09-20 00:03:45 +02:00
parent 8355f7e820
commit 9e44a7ad6d
1 changed files with 17 additions and 0 deletions

17
.gitattributes vendored Normal file
View File

@ -0,0 +1,17 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.java text
*.gradle text
*.md text
*.properties text
*.xml text
# Declare files that will always have CRLF line endings on checkout.
#*.sln text eol=crlf
# Denote all files that are truly binary and should not be modified.
#*.png binary
#*.jpg binary