Submit
Push gh-stack branches and create/update PRs.
Modes
| Mode | Command | When |
|---|---|---|
| Default | gh stack push |
Push only, no PR creation |
| Create PRs | gh stack submit --auto |
User says "create PR" / "create PRs" |
| Draft PRs | gh stack submit --auto --draft |
User says "draft PR" / "draft PRs" |
Steps
Check stack health:
gh stack view --json 2>&1- If any branch has
needsRebase: true, runSkill(gh-stack:restack)first.
- If any branch has
Submit:
gh stack push 2>&1 # default: push only gh stack submit --auto 2>&1 # create PRsPR descriptions (create modes only): When creating new PRs, run
Skill(pr-descr)for each newly created PR. Skip for push-only mode.Report: list GitHub PR URLs from stderr output.