From 1060fc41152502033b1c276123544bde69bee61d Mon Sep 17 00:00:00 2001 From: snowgitea Date: Fri, 11 Sep 2026 23:40:39 +0800 Subject: [PATCH] chore: add .gitattributes to normalize line endings to LF --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2f4f875 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# 统一按 LF 存储,避免 Windows/macOS 之间产生 CRLF 虚假 diff +* text=auto eol=lf