Graphite home pagelight logodark logo
Get started
  • Overview
Setup & configuration
  • Authenticate with GitHub
  • Configure GitHub repository settings
  • Install & authenticate the CLI
Diamond (AI code review)
  • Overview
  • Setup & configuration
  • Review comments
  • Customization
PR workflows
  • Pull Request Inbox
  • Review pull requests
  • Merge pull requests
Stacking (Graphite CLI)
  • Overview
  • Quick Start
  • Command Reference
  • Command Cheatsheet
  • Configure The CLI
  • Basic tutorials
  • Advanced tutorials
Integrations
  • Overview
  • VS Code Extension
  • Menu Bar App (Mac)
  • Slack Notifications
  • Linear
Repository management
  • Merge Queue
  • Automations
  • Protections
  • Insights
Administration
  • Privacy & security
  • User permissions
  • Billing & plans
  • GitHub Enterprise Server
References
  • FAQs
  • CLI Changelog
  • Graphite CLI v1 command names
  • Learn to stack
  • Evaluating Graphite
  • App
Graphite home pagelight logodark logo
  • App
Stacking (Graphite CLI)

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.

Was this page helpful?

Previous
Quick StartLearn to create stacked pull requests with the Graphite CLI.
Next
On this page
  • Start with a guide
  • Tutorials
Assistant
Responses are generated using AI and may contain mistakes.
Graphite home pagelight logodark logo
slackxgithub

Product

FeaturesPricingDocsCustomers

Company

BlogCareersContact us

Resources

CommunityPrivacy policyTerms of serviceStacking workflow

Developers

StatusGitHub
Powered by Mintlify