From a5ec941074229d56cd12af1001722f8b96818dc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Thu, 17 Oct 2024 09:14:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20.gitattributes=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=BB=A5=E9=85=8D=E7=BD=AE=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E5=92=8C=E4=BA=8C=E8=BF=9B=E5=88=B6=E6=96=87=E4=BB=B6=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..43f7ec9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,35 @@ +* text=auto + +# Force the following filetypes to have unix eols, so Windows does not break them +*.* text eol=lf + +# Separate configuration for files without suffix +LICENSE text eol=lf +Dockerfile text eol=lf +pre-commit text eol=lf +commit-msg text eol=lf + +# These files are binary and should be left untouched +# (binary is a macro for -text -diff) +*.ico binary +*.jpg binary +*.jpeg binary +*.png binary + +*.pdf binary +*.doc binary +*.docx binary +*.ppt binary +*.pptx binary +*.xls binary +*.xlsx binary + +*.exe binary +*.jar binary + +*.ttf binary +*.woff binary +*.woff2 binary +*.eot binary +*.otf binary +# Add more binary... \ No newline at end of file