Stacked PR workflow with the Graphite CLI (gt) — create stacks, submit, sync, restack, split/squash/fold, track existing branches, collaborate on shared stacks, configure repo/CI for Graphite, and operate the merge queue.
70
88%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Display the current Graphite stack structure. User input: $ARGUMENTS.
gt ls (alias for gt log short) — compact tree, fastest, good default for orientation.gt log — full information per branch (PR status, last commit, worktree path).gt log -a / gt log --all — show every stack in the repo, not just the current one.gt log -s / gt log --stack — limit to the current stack.If $ARGUMENTS is empty, run gt ls. Otherwise pass the args through.
◉ (filled circle) marks the current branch.needs restack next to a branch means its parent has moved; run /graphite:restack before submitting.gt log.Just run the command and show the output to the user — do not interpret unless asked.