From f51d7993a4d40039b4b4f25da57d9694a94625e2 Mon Sep 17 00:00:00 2001 From: SWHL Date: Mon, 25 Jul 2022 22:41:49 +0800 Subject: [PATCH] Add gitattributes --- .gitattributes | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..296b473 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,19 @@ +# 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 +*.py text +*.md text +*.js text +*.cpp 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 +*.pdf binary \ No newline at end of file