Permalink
Browse files

per https://help.github.com/articles/dealing-with-line-endings

  • Loading branch information...
1 parent cff32b9 commit d9251b053fe9a661e952e31bbe6a47de7bbbbc08 @danbri danbri committed Jun 6, 2014
Showing with 18 additions and 0 deletions.
  1. +18 −0 .gitattributes
View
@@ -0,0 +1,18 @@
+# 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.
+*.c text
+*.h text
+*.rdfa text
+*.txt text
+*.py 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
+

0 comments on commit d9251b0

Please sign in to comment.