From 5480adba3e14efc6bc13492baa449c1e5cad0fe3 Mon Sep 17 00:00:00 2001 From: Markus Helm Date: Wed, 16 Jul 2014 16:22:15 +0200 Subject: [PATCH] Added .gitattributes to define how git handles the line endings --- .gitattributes | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..baf799183 --- /dev/null +++ b/.gitattributes @@ -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 \ No newline at end of file