Repository navigation
Commit 6a19b6a
committed
chore(gitignore): 忽略 chorography 生成物,只保留 plan.yaml
T0/T1 每次运行都会重写 .chorography/ 下的 index.md、modules/*.md、
evidence/*.json 与 state.json,这些都是可从仓库重新生成的派生物。
不进版本库,clone 下来也不会先看到几十个还没跑过的生成页。
plan.yaml 是唯一的人工正面控制表(spec §4 目录契约里标为用户所有),
必须能提交,所以忽略的是目录内容 .chorography/* 而不是整个目录——
整条忽略目录时 git 不会进目录看白名单,!.chorography/plan.yaml 永远不生效。
验证方式(临时仓与本次分支各跑一遍):state.json / modules/src.md / index.md
命中 .gitignore:47 被忽略;plan.yaml 命中 .gitignore:48 白名单,
git status 里只作为新文件出现,可直接 git add。1 parent 952f307 commit 6a19b6a
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments