docs: add sync-with-root menu description to CLI reference
This commit is contained in:
parent
dbdaf93498
commit
3af30e9e18
@ -164,7 +164,7 @@ takt watch
|
|||||||
|
|
||||||
### takt list
|
### takt list
|
||||||
|
|
||||||
タスクブランチの一覧表示と操作(マージ、削除など)を行います。
|
タスクブランチの一覧表示と操作(マージ、削除、ルートとの同期など)を行います。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# タスクブランチの一覧表示(マージ/削除)
|
# タスクブランチの一覧表示(マージ/削除)
|
||||||
@ -177,6 +177,8 @@ takt list --non-interactive --action delete --branch takt/my-branch --yes
|
|||||||
takt list --non-interactive --format json
|
takt list --non-interactive --format json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
インタラクティブモードでは **Sync with root** を選択でき、ルートリポジトリの HEAD をワークツリーブランチにマージします。コンフリクト発生時は AI が自動解決を試みます。
|
||||||
|
|
||||||
### タスクディレクトリワークフロー(作成 / 実行 / 確認)
|
### タスクディレクトリワークフロー(作成 / 実行 / 確認)
|
||||||
|
|
||||||
1. `takt add` を実行し、`.takt/tasks.yaml` に pending レコードが作成されたことを確認。
|
1. `takt add` を実行し、`.takt/tasks.yaml` に pending レコードが作成されたことを確認。
|
||||||
|
|||||||
@ -164,7 +164,7 @@ takt watch
|
|||||||
|
|
||||||
### takt list
|
### takt list
|
||||||
|
|
||||||
List task branches and perform actions (merge, delete, etc.).
|
List task branches and perform actions (merge, delete, sync with root, etc.).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# List task branches (merge/delete)
|
# List task branches (merge/delete)
|
||||||
@ -177,6 +177,8 @@ takt list --non-interactive --action delete --branch takt/my-branch --yes
|
|||||||
takt list --non-interactive --format json
|
takt list --non-interactive --format json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In interactive mode, **Sync with root** merges the root repository HEAD into the worktree branch with AI-assisted conflict resolution.
|
||||||
|
|
||||||
### Task Directory Workflow (Create / Run / Verify)
|
### Task Directory Workflow (Create / Run / Verify)
|
||||||
|
|
||||||
1. Run `takt add` and confirm a pending record is created in `.takt/tasks.yaml`.
|
1. Run `takt add` and confirm a pending record is created in `.takt/tasks.yaml`.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user