Treat XMind files as binary so Git LF conversion does not corrupt them.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,5 +3,8 @@
|
|||||||
deploy/** text eol=lf
|
deploy/** text eol=lf
|
||||||
# 文档统一 LF,避免 Windows 编辑后产生 CRLF 脏 diff
|
# 文档统一 LF,避免 Windows 编辑后产生 CRLF 脏 diff
|
||||||
docs/** text eol=lf
|
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 模板统一 LF,避免 Linux PM2 source 报 $'\r': command not found
|
||||||
**/.env.example text eol=lf
|
**/.env.example text eol=lf
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user