Graphite CLI

git
CommandAliasDescription
gt log shortgt lsRun any time branches are created/manipulated/changed
gt create --all --message <COMMIT_MESSAGE>gt c -am <COMMIT_MESSAGE>Create changes, stage the changes, create a new branch and commit the changes to the new branch all at once
gt submit --stackgt ssSubmit your changes across all PRs on a stack
gt submit --stack --update-onlygt ss -uUpdate all PRs for branches in your stack that already have PRs, but do not create new ones
gt modifygt m -aUpdate an existing branch with all new changes by amending the existing commit on that branch
gt modify --all --commit --message <COMMIT_MESSAGE>gt m -cam <COMMIT_MESSAGE>Update an existing branch with all new changes by creating an entirely new commit on that branch
gt sync --forcegt sync -fPull your trunk branch, automatically clean up any branches corresponding to merged PRs, and restack any branches that do not conflict.

Keyboard shortcuts

Tap these keys to navigate to the appropriate page.