📝 docs(readme): normalize subtree command spacing

This commit is contained in:
csh 2026-03-19 14:55:19 +08:00
parent 62db7dbd56
commit 2f2d34abe2
1 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ python scripts/playbook.py -config playbook.toml
project_root = "/path/to/project"
[sync_rules]
# force = true # 可选
# force = true # 可选
[sync_memory_bank]
project_name = "MyProject"
@ -196,7 +196,7 @@ Layer 3: docs/ (权威静态文档)
```bash
# 1. 引入标准快照
git subtree add --prefix docs/standards/playbook https://git.mytsl.cn/csh/playbook.git main --squash
git subtree add --prefix docs/standards/playbook https://git.mytsl.cn/csh/playbook.git main --squash
# 2. 在项目根创建配置(示例见 docs/standards/playbook/playbook.toml.example
cat <<'EOF' > playbook.toml
@ -222,13 +222,13 @@ git commit -m ":package: deps(playbook): add tsl standards"
1. 在目标项目中首次引入:
```bash
git subtree add --prefix docs/standards/playbook https://git.mytsl.cn/csh/playbook.git main --squash
git subtree add --prefix docs/standards/playbook https://git.mytsl.cn/csh/playbook.git main --squash
```
2. 后续同步更新:
```bash
git subtree pull --prefix docs/standards/playbook https://git.mytsl.cn/csh/playbook.git main --squash
git subtree pull --prefix docs/standards/playbook https://git.mytsl.cn/csh/playbook.git main --squash
```
3. 在项目根配置并执行: