Learn how to install & authenticate Graphite’s CLI to start creating stacked pull requests.
git
—just install it on an existing repository and begin using our suite of gt
commands.
brew
installation, which ships standalone binaries for both MacOS and Linux.
git --version
of 2.38.0.
GRAPHITE_IGNORE_GIT_VERSION=1
. This is discouraged, so be careful; most Graphite commands will not work on older versions.
npm
. If you do not use Node in your day-to-day work, there are a variety of ways to get it set up on your system, listed in the NPM documentation.
Click here for instructions.
Alternatively, you can use either brew
or npm
on WSL (Windows Subsystem for Linux).
We are always working towards better native Windows support, although occasionally it falls behind *nix systems in priority. If you run into any issues, especially if they are blocking your workflow, please reach out in our community Slack.
gt submit
, you must authenticate the CLI with your GitHub account. See Privacy and Security to understand which GitHub permissions Graphite requires.gt auth --token <your_cli_auth_token>
command shown (your CLI auth token will be pre-filled for you).
gt submit
to create or update pull requests in GitHub for every branch in your stack.
Your privacy and security are our top priorities. Graphite is architected to ask for the minimum set of permissions necessary within the constraints of GitHub’s API. Learn more about our GitHub integration.