Skip to content

Commit f96ee3b

Browse files
committed
docs(workflow): note idempotence of helper commands
1 parent 27347ac commit f96ee3b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/patch_workflow.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ Testing & Coverage
6363
- `script/setup-repo.sh` hook/alias installation.
6464
- `script/apply-cumulative.sh` in-place apply, `script/new-worktree-apply-cumulative.sh` auto-applying numbered patches and surfacing 3-way fallback conflicts.
6565

66+
Idempotence & Re-runs
67+
68+
- `script/setup-repo.sh` (`git sts`) — **idempotent**; safe to run any time.
69+
- `git gstart` — creates a new worktree/branch every run; use `git wta --branch <name>` to reuse a specific branch.
70+
- `git wta` / `git gta` — create/apply on a new branch unless `--branch` targets an existing one.
71+
- `script/apply-cumulative.sh` — applies current checkpoint/deltas; repeat runs produce new commits only if content changed.
72+
- `script/cleanup-worktrees.sh` and `script/test.sh`**idempotent**.
73+
6674
Typical Flows
6775

6876
- Fresh session, defaults end-to-end:

0 commit comments

Comments
 (0)