From 61427224a07bfe8364b546094f4a7e99cfa2d5aa Mon Sep 17 00:00:00 2001 From: swevictor Date: Thu, 17 Aug 2023 12:04:10 +0200 Subject: [PATCH] Add .gitattributes to force git not changing line endings for developers --- .gitattributes | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e4373a3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,14 @@ +# Set the LF line ending default behavior also on Windows, in case core.autocrlf is not set. +* text eol=lf + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +#*.c text +#*.h 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 \ No newline at end of file