feat(git-config): 新增推荐 .gitattributes(换行符/编码属性模板)

从文档站《Git for Windows》笔记的代码块提取,供直接下载/引用。

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
fnzhang 2026-07-28 18:42:48 +08:00
commit 71cf9e8cc2
3 changed files with 95 additions and 0 deletions

12
git-config/README.md Normal file
View file

@ -0,0 +1,12 @@
# git-config
跨平台 Git 配置模板。
## .gitattributes
推荐的 `.gitattributes` 换行符EOL与编码配置示例`text` / `eol` / `working-tree-encoding` 属性说明与匹配优先级注释。
- 查看:[.gitattributes](.gitattributes)
- 原始内容(可直接下载):[raw](/gits/fnzhang/tool-skills/raw/branch/main/git-config/.gitattributes)
背景说明见文档站笔记《Git for Windows》。