From d437320f550c130aa2caff9dc30ba8df755a03e7 Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Tue, 8 Jan 2019 16:50:53 -1000 Subject: [PATCH] Update .gitattributes (#10285) --- .gitattributes | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index b25611a5e7..bcf9656a7a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,6 +3,14 @@ ############################################################################### * text=auto +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.cs text +*.cshtml text + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf + ############################################################################### # Set default behavior for command prompt diff. # @@ -40,9 +48,9 @@ # # image files are treated as binary by default. ############################################################################### -#*.jpg binary -#*.png binary -#*.gif binary +*.jpg binary +*.png binary +*.gif binary *.ico binary ###############################################################################