Submit
Push Graphite stack and create/update PRs.
Modes
| Mode | Command | When |
|---|---|---|
| Default | gt ss -u |
Always, unless user specifies otherwise |
| Single PR | gt submit |
User explicitly says "submit this PR" / "update this PR" |
| Create new | gt ss |
User explicitly says "create PR" / "create PRs" |
Default is gt ss -u (stack, update-only) — avoids accidentally creating PRs for WIP branches.
Steps
Check stack health:
gt log --stack 2>&1- If restack needed (diverged parents, conflicts), run
Skill(gt:restack)first.
- If restack needed (diverged parents, conflicts), run
Submit:
gt ss -u 2>&1 # default # or gt submit / gt ss depending on modePR descriptions (create modes only): When mode is Create new (
gt ss) or Single PR (gt submit) on a branch without an existing PR, runSkill(pr-descr)for each newly created PR. Skip forgt ss -u(PRs already have descriptions).Report: list Graphite URLs (
app.graphite.com/...) for updated PRs. Never report GitHub URLs.