From 55e0ef78d321f602b5db6c6fdb04979bb1639efb Mon Sep 17 00:00:00 2001 From: Elliott Chen Date: Wed, 25 Dec 2024 17:28:47 +0800 Subject: [PATCH] feat: updating git line ending --- .gitattributes | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index d3662066..03db9279 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,5 @@ -# Treat all text files as text and normalize to LF in the repository +# Set the default behavior, in case people don't have core.autocrlf set. * text=auto -# Force LF for shell scripts or config files -*.sh text eol=lf +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf *.config text eol=lf \ No newline at end of file