From 872afaeb84d70de7b0c01336a9d1f6da611f3438 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Tue, 10 Jul 2018 13:28:47 +0200 Subject: [PATCH] Add .gitattributes to make endlines automatic Change-Id: I9d58a5b0623c1b9d218e805fa619b324765f97a5 Signed-off-by: Vratko Polak --- .gitattributes | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..de1048f3a3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,16 @@ +# 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. +*.robot text +*.rst text +*.yaml text +*.vat 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 -- 2.16.6