📝 docs(readme): normalize subtree command spacing
This commit is contained in:
parent
62db7dbd56
commit
2f2d34abe2
|
|
@ -76,7 +76,7 @@ python scripts/playbook.py -config playbook.toml
|
||||||
project_root = "/path/to/project"
|
project_root = "/path/to/project"
|
||||||
|
|
||||||
[sync_rules]
|
[sync_rules]
|
||||||
# force = true # 可选
|
# force = true # 可选
|
||||||
|
|
||||||
[sync_memory_bank]
|
[sync_memory_bank]
|
||||||
project_name = "MyProject"
|
project_name = "MyProject"
|
||||||
|
|
@ -196,7 +196,7 @@ Layer 3: docs/ (权威静态文档)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 1. 引入标准快照
|
# 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)
|
# 2. 在项目根创建配置(示例见 docs/standards/playbook/playbook.toml.example)
|
||||||
cat <<'EOF' > playbook.toml
|
cat <<'EOF' > playbook.toml
|
||||||
|
|
@ -222,13 +222,13 @@ git commit -m ":package: deps(playbook): add tsl standards"
|
||||||
1. 在目标项目中首次引入:
|
1. 在目标项目中首次引入:
|
||||||
|
|
||||||
```bash
|
```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. 后续同步更新:
|
2. 后续同步更新:
|
||||||
|
|
||||||
```bash
|
```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. 在项目根配置并执行:
|
3. 在项目根配置并执行:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue