Skip to main content
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.

Get started

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.

Quick start

Learn how to author stacked pull requests with the CLI, from your first edit to merging.

Command cheatsheet

A quick reference for the most common Graphite CLI commands.

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.