From 40d7a0bc27a991a5360a99e823dc75f3ec19fde9 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 7 Sep 2021 10:46:29 +0100 Subject: [PATCH 1/1] Add gitattribute to force lf line endings --- .gitattributes | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..5be0fcdf6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,17 @@ +# text=auto is only correctly supported in git 2.10.0 +# https://github.com/git/git/blob/master/Documentation/RelNotes/2.10.0.txt#L248 +# * text=auto eol=lf +*.sh text eol=lf +*.sql text eol=lf +*.rb text eol=lf +*.erb text eol=lf +*.json text eol=lf +*.yml text eol=lf +*.builder text eol=lf +*.js text eol=lf +*.jbuilder text eol=lf +*.svg text eol=lf +*.css text eol=lf +*.scss text eol=lf +*.png binary +*.gif binary -- 2.39.5