Developer tool

Git workflows, supercharged

g passes through every git command, then upgrades the commands you run all day—log, diff, status, branch—and adds stacks and workspaces for serious branch hygiene.

  • Passthrough-compatible with git
  • Stacked PRs + GitHub API
  • Worktree-native workspaces
terminal
❯ ▌

Use cases

Each card jumps to a story-style playbook (who you are, what to run, why). The full list lives in Use cases—including solo workflows, release prep, and stack repair.

Capabilities

Four areas where g goes beyond pretty printing: structure, parallelism, history, and patches.

Stacks

Ordered branch chains, sync rebases, push the ladder, pr with correct bases on GitHub.

g stack new g stack sync g stack pr

Workspaces

Named git worktree checkouts as sibling directories; switch via subshell; list and prune safely.

g workspace create g workspace list g workspace switch

Log

Graph, decorations, conventional-commit coloring—still forwards args to git log.

g log g log --all g log main..HEAD

Diff

Builtin syntax-highlighted viewer (stack / split / side-by-side) or pipe through any external pager from config.

g diff g show g compare --diff

Docs as Markdown

Edit docs/src/content/docs/, tune frontmatter order, preview with npm run dev. GitHub Actions builds and ships to Pages.

Read the manual

Install

Binary via Cargo. The crate lives at the repository root; this site under docs/ is excluded from cargo package.

crates.io

cargo install g
g --version

Adjust the crate name if yours differs on crates.io.

From source

git clone https://github.com/YOUR_ORG/vcli.git
cd vcli
cargo install --path .

Keep ~/.cargo/bin on your PATH.

For g stack pr, set GITHUB_TOKEN or [github].token in ~/.config/g/config.toml.