From 30fd8206687362ed522b2b2fe46c974f0fc76f87 Mon Sep 17 00:00:00 2001 From: wangshaoping Date: Wed, 11 Sep 2024 10:55:59 +0800 Subject: [PATCH] update --- .gitattributes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index b33d9d37..ad29a01a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,4 @@ -# 所有文本文件的行结束符为: 换行符 +# 文件的行尾自动转换 +# 如果是文本文件,则在文件入 Git 库时,行尾自动转换为 LF +# 如果已经在入 Git 库中的文件的行尾是 GRLF , 则文件在入 Git 库时,不再转换为 LF * text=auto \ No newline at end of file