Skip to content

Commit

Permalink
Added .gitattributes to define how git handles the line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhelm committed Jul 17, 2014
1 parent 30564c8 commit 5480adb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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.