gh-stack

Installation
SKILL.md

gh-stack

gh stack manages an ordered chain of dependent branches and pull requests. Each branch has one PR based on the branch below it, so reviewers see only that layer's diff. Use gh stack view --json to inspect the chain. Before creating a stack, read references/stack-design.md to decide its layers.

Setup

Requires Git 2.36+ and an authenticated GitHub CLI.

gh extension install github/gh-stack
git config rerere.enabled true         # remember conflict resolutions
git config --get remote.pushDefault    # inspect; do not overwrite existing policy
git remote -v                          # identify the intended push remote
Installs
4
First Seen
Oct 13, 2026