CLI overview
Create, stack, and submit pull requests directly from the command line.
The Graphite CLI is a tool to help you break up large engineering tasks into a series of small, incremental code changes directly from the command line. The Graphite CLI makes it easy to stay unblocked as an author, develop faster, and provide more helpful comments as a reviewer.
Start with a guide
Set up the CLI
Install and authenticate the Graphite CLI to create and submit PRs.
Configure the CLI
Set up shell completion, custom branch naming, PR messages, and more.
Initialize Graphite in a repository
Learn how to initialize Graphite inside of an existing repository.
Quick start
Learn how to author stacked pull requests with the CLI, from your first edit to merging.
Tutorials
Create a pull request
Learn to create a single pull request with CLI.
Create a stack
Stacks are what Graphite is all about - learn how to create one with the CLI.
Visualize a stack
If you've already created a stack with the CLI, see what it looks like locally.
Navigate a stack
Learn how to quickly move between PRs in a stack using the CLI.