LinuxCommandLibrary

gt

CLI for stacked diffs workflow

TLDR

Create new branch

$ gt branch create [branch-name]
copy
Submit stack for review
$ gt stack submit
copy
Sync with remote
$ gt repo sync
copy
List branches in stack
$ gt log
copy
Checkout branch
$ gt branch checkout [branch-name]
copy

SYNOPSIS

gt command [options]

DESCRIPTION

gt (Graphite) is a CLI for stacked diffs workflow. It manages dependent branches and streamlines code review by organizing changes into logical stacks.
The tool integrates with GitHub for pull request management. It simplifies rebasing and updating of branch stacks.

PARAMETERS

COMMAND

Subcommand to execute.
branch create
Create new branch.
stack submit
Submit stack for code review.
repo sync
Synchronize with remote.
log
Show branch stack.
--help
Display help information.

CAVEATS

Requires GitHub. Workflow differs from traditional git. Opinionated branching model.

HISTORY

gt was created by Graphite to bring stacked diffs workflow (similar to Phabricator) to GitHub.

SEE ALSO

git(1), gh(1), jj(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community