From c5dfe9a09251590c7fec41b1c7b7c6e37c2b9f78 Mon Sep 17 00:00:00 2001 From: RomanovM Date: Sun, 23 May 2021 05:02:24 +0200 Subject: [PATCH] Add .gitattributes file to the repo (cherry picked from commit 9f093db2c096194e4835626c169543cc5471380e) --- .gitattributes | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..bdd7792224f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,13 @@ +# 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 eol=lf + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf +*.csproj text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.png -text +*.jpg -text \ No newline at end of file