From 234bd625e9a40eaed4a4f87c0bebbcb7d5a9cd94 Mon Sep 17 00:00:00 2001 From: Emux <devemux86@gmail.com> Date: Mon, 4 Jul 2016 14:18:02 +0300 Subject: [PATCH] gitattributes: dealing with line endings --- .gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..e9257775 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +# 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. +*.sh text +*.java text +*.xml text +*.js text +*.css text +*.svg text