core.autocrlf=true 会让 clone 时把记忆文件转成 CRLF,导致「记忆目录 <-> 仓库」 逐字节比对始终有噪音。加 .gitattributes 指定 .ai-memory/*.md 使用 eol=lf。
4 lines
168 B
Plaintext
4 lines
168 B
Plaintext
# AI 记忆备份固定使用 LF:
|
||
# 便于「记忆目录 <-> 仓库」逐字节比对,也避免 core.autocrlf 在 clone 时转成 CRLF
|
||
.ai-memory/*.md text eol=lf
|