Files
qianshi/.gitattributes
T
qianqiuwanzi 4d89b2a372 chore: 新增 .gitattributes 禁用行尾归一化,根治 LF/CRLF 历史分叉
- * -text 让 git 不做任何行尾转换,文本以工作区字节原样存储 - README.md 行尾随仓库统一为 CRLF(此前 HEAD 存 LF 而工作区为 CRLF,属分叉遗留) - 背景:本地仓库存 LF、服务器/Gitea 存 CRLF,同一批改动各自提交产生两条并行历史;现两边格式已统一为 CRLF
2026-09-16 14:09:42 +08:00

5 lines
328 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 千视科技官网为纯静态站点,部署目标(腾讯云服务器 + 线上 qianshi.cool)
# 统一使用 CRLF 行尾。禁用 git 行尾归一化,保证本地提交/服务器提交/线上文件字节一致,
# 避免同一批改动在本地与服务器各自提交后因 LF/CRLF 差异产生历史分叉。
* -text