Permalink
Browse files

Added .gitattributes to define how git handles the line endings

  • Loading branch information...
mmhelm committed Jul 16, 2014
1 parent 30564c8 commit 5480adba3e14efc6bc13492baa449c1e5cad0fe3
Showing with 13 additions and 0 deletions.
  1. +13 −0 .gitattributes
View
@@ -0,0 +1,13 @@
# 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
# Declare files that will always have LF line endings on checkout.
*.txt text eol=lf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary

0 comments on commit 5480adb

Please sign in to comment.