diff --git a/.gitattributes b/.gitattributes index 3354dfa..88fa6de 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,8 @@ # 文档库并入后的行尾约定(原文档库是 * -text + autocrlf=false ⇒ 必须保持纯 LF) dsh-server-docs/** -text + +# 授权法律文本:必须逐字节保持原样(LICENSE = AGPL-3.0 官方全文 34,523 B) +# ⇒ 标记 -text,避免 core.autocrlf=true 在下次 checkout 时把它改成 CRLF +LICENSE -text +COMMERCIAL-LICENSE.md -text +COMMERCIAL-LICENSE.zh-CN.md -text