From eae31cbe58363580aa3e8d2e9f99e23e3afca2dc Mon Sep 17 00:00:00 2001 From: Ben Christensen Date: Sun, 8 Dec 2013 15:54:46 -0800 Subject: [PATCH] GitAttributes for Line Endings https://help.github.com/articles/dealing-with-line-endings See https://github.com/Netflix/RxJava/issues/579 --- .gitattributes | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..76e9aa3c6d5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.java text +*.groovy text +*.scala text +*.clj text +*.txt text +*.md text + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary