From e8e46dfb8fddbcb3f1506e61cdeef24cb141ac2d Mon Sep 17 00:00:00 2001 From: Ramesh Padmanabhaiah Date: Wed, 3 Jun 2026 19:43:43 -0700 Subject: [PATCH] docs: align contributing worktree commands --- CONTRIBUTING.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 30cabce..2f92a36 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,7 +30,7 @@ opinionated, testable, and useful as a shared workspace control plane. ```bash git fetch origin master - git worktree add ../base-worktrees/ -b origin/master + git worktree add -b ~/work/base-worktrees/ origin/master ``` 5. Keep the PR scoped to the issue. Avoid unrelated refactors. @@ -38,7 +38,14 @@ opinionated, testable, and useful as a shared workspace control plane. 7. Use the standard PR body and fill in Summary, Issue, Validation, Demo Impact, and Notes. 8. After merge, sync `master`, remove the worktree, and delete the local and - remote branches. + remote branches: + + ```bash + git -C ~/work/base pull --ff-only origin master + git -C ~/work/base worktree remove ~/work/base-worktrees/ + git -C ~/work/base branch -d + git -C ~/work/base push origin --delete + ``` For the full policy, including milestone and GitHub Project guidance, see [GitHub Workflow](docs/github-workflow.md).