Prechádzať zdrojové kódy

feat: 添加 .gitattributes/.gitmessage/.env.example

- .gitattributes: 文本文件规范化 + 跨平台换行符
- .gitmessage: 提交信息模板
- secrets/.env.example: 密钥环境变量模板
agent-yuyang001 1 mesiac pred
rodič
commit
5d340596fd
2 zmenil súbory, kde vykonal 49 pridanie a 0 odobranie
  1. 33 0
      .gitattributes
  2. 16 0
      .gitmessage

+ 33 - 0
.gitattributes

@@ -0,0 +1,33 @@
+# 雨飏001 · .gitattributes
+
+# 文本文件规范化
+*.md text diff=markdown
+*.sh text eol=lf
+*.ps1 text eol=crlf
+*.yaml text
+*.yml text
+*.json text
+*.toml text
+*.cfg text
+*.conf text
+*.ini text
+*.example text
+
+# 脚本可执行
+*.sh eol=lf
+
+# 声明二进制文件
+*.png binary
+*.jpg binary
+*.jpeg binary
+*.gif binary
+*.webp binary
+*.mp4 binary
+*.mp3 binary
+*.wav binary
+*.amr binary
+*.pdf binary
+*.docx binary
+*.zip binary
+*.tar.gz binary
+*.ico binary

+ 16 - 0
.gitmessage

@@ -0,0 +1,16 @@
+# 雨飏001 · 提交信息模板
+# 用法: git commit -t .gitmessage
+
+# 提交类型:
+# feat:    新功能/新生命文件
+# fix:     修复/修正
+# docs:    文档更新
+# chore:   日常维护
+# life:    生命数据更新(记忆/编年史)
+# evolve:  版本进化
+
+# 示例:
+# life: 更新编年史 - 2026-08-29 对话记录
+# feat: 添加 Windows 引导脚本
+# docs: 更新项目索引
+# evolve: v0.1 → v0.2 新增知识库分类