Skip to content

docs: document gw new --stack and structural base selection - #44

Merged
zawakin merged 1 commit into
mainfrom
docs/new-stack-base-selection
Jun 29, 2026
Merged

docs: document gw new --stack and structural base selection#44
zawakin merged 1 commit into
mainfrom
docs/new-stack-base-selection

Conversation

@zawakin

@zawakin zawakin commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

What

Follow-up docs for #43. The skill (.claude/skills/git-workflow/SKILL.md) and README.md still described gw new as always carrying changes onto the branch, with no mention of stacked PRs or the new structural base-selection rules.

  • SKILL.md: corrected the "Starting" row (run from home; feature-branch refusal); added a "Situation: stacking a PR on top of another" section covering gw new <child> --stackgh pr create -B <parent>gw sync as the teardown.
  • README.md: updated the new lines + Commands table (added the --stack row), and added an "Unambiguous base" bullet under Safety Features.

Why

Keep the documented workflow in sync with the shipped behavior so the state-driven gw status guidance and the skill stay the single source of truth.

🤖 Generated with Claude Code

The skill and README still described `gw new` as always carrying changes onto
the branch, with no mention of stacked PRs or the new structural rules. Update
both: --stack for stacking on the current branch (with `gh pr create -B`), the
feature-branch refusal, and the dirty→HEAD base guarantee.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@zawakin zawakin self-assigned this Jun 29, 2026
@zawakin
zawakin merged commit c4a0150 into main Jun 29, 2026
@zawakin
zawakin deleted the docs/new-stack-base-selection branch June 29, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant