From: Vratko Polak Date: Tue, 10 Jul 2018 11:28:47 +0000 (+0200) Subject: Add .gitattributes to make endlines automatic X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=872afaeb84d70de7b0c01336a9d1f6da611f3438;ds=sidebyside Add .gitattributes to make endlines automatic Change-Id: I9d58a5b0623c1b9d218e805fa619b324765f97a5 Signed-off-by: Vratko Polak --- 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