From 791cc750daf6acc4bad4496f3b04f6ea25936099 Mon Sep 17 00:00:00 2001 From: dekun Date: Sun, 26 Jul 2026 10:30:57 +0800 Subject: [PATCH] Treat XMind files as binary so Git LF conversion does not corrupt them. Co-authored-by: Cursor --- .gitattributes | 3 +++ docs/交易执行手册与行为准则.xmind | Bin 181473 -> 181478 bytes 2 files changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index fefbae4..42b210a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,5 +3,8 @@ deploy/** text eol=lf # 文档统一 LF,避免 Windows 编辑后产生 CRLF 脏 diff docs/** text eol=lf +# XMind 为 ZIP 二进制;须覆盖上面 docs/** 的 text/eol,否则入库会损坏打不开 +*.xmind -text -diff -merge -eol +docs/**/*.xmind -text -diff -merge -eol # .env 模板统一 LF,避免 Linux PM2 source 报 $'\r': command not found **/.env.example text eol=lf diff --git a/docs/交易执行手册与行为准则.xmind b/docs/交易执行手册与行为准则.xmind index 099a60db9328534ce212f5087e2c32d08e19b0d9..7fd79e7b14fb117fa93a430a07534c1372b3fad2 100644 GIT binary patch delta 53 zcmaFZ$^ER8dqV;XBk$$}mZi(VR8sBsbWO&7F-G3)-|QJHD}i+WPR3<+Kw9(%