From 0fe48635f5d9ebdcd35b9a46611562606439b5c7 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 17 Jun 2021 05:06:37 +0800 Subject: [PATCH] Proper EOL for sh checkout --- .gitattributes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..89b6eb660 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +*.cpp ident +*.h ident + +# 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. +*.c text +*.h text +*.cs text +*.jade text +*.json text +*.js text +*.css text +*.htm text +*.txt text +*.sh text eol=lf