Commit Graph

1 Commits

Author SHA1 Message Date
lzh
ca575d6297 chore: 加 .gitattributes 统一 Java/SQL/shell 等文本文件行尾为 LF
仓库历史存在零星 CRLF 文件(Windows 编辑器保存导致),每次他人修改都会出现
整文件 diff 污染 git blame。显式规则让 git add 自动规范化,避免复现。

*.bat/*.cmd/*.ps1 保留 CRLF(Windows 原生脚本语义要求),二进制类型显式 binary
阻止任何转换。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 13:31:32 +08:00