github

    github/gh-stack

    GitHub Stacked PRs

    cli
    gh-extension
    github
    stacked-prs
    Go
    MIT
    1.7K stars
    92 forks
    1.7K GitHub watchers
    Updated Oct 28, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    4 releases in the last 90 days, the latest 2 days ago, with 8 contributors on GitHub.

    Peaked at #7 in the weekly ranking the week of Jul 26, its best in the past year.

    Use Cases & Benefits

    • Manages stacked branches and pull requests on GitHub by automating branch creation, rebasing, PR base setting, and navigation within a stack.
    • Simplifies handling complex, dependent PRs by linking them as a stack, enabling incremental reviews and reducing merge conflicts.
    • Use for breaking large feature development into smaller, reviewable pull requests that build on each other sequentially.
    • Use for automating synchronization of local stacked branches with their corresponding GitHub PRs, including rebasing and pushing updates.
    • Use for interactively restructuring a stack of branches, such as reordering, folding, or dropping branches, to maintain a clean commit history.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A GitHub CLI extension for managing stacked branches and pull requests.

    Stacked PRs break large changes into a chain of small, reviewable pull requests that build on each other. gh stack automates the tedious parts — creating branches, keeping them rebased, setting correct PR base branches, and navigating between layers.

    Requires the GitHub CLI (gh) v2.0+.

    Excerpt from the github/gh-stack README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 1: +100Aug 2: +153Aug 3: +73Aug 4: +53Aug 5: +49Aug 6: +28Aug 7: +38Aug 8: +26Aug 9: +9Aug 10: +14Aug 11: +23Aug 12: +14Aug 13: +3Aug 31: +5Sep 1: +5Sep 24: +17

    +1,064 stars over 90 days across 23 snapshot days; best day +153 on Aug 2.

    Forks

    92+61

    Open issues

    158+100

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    github/gh-stack compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    mattpocock/skills315.4K+8.7K357 days ago
    stablyai/orca116.8K+6.6K40today
    obra/superpowers313.1K+4.5K532 days ago
    Panniantong/Agent-Reach109.3K+3.0K604 days ago
    github/gh-stack1.7K—452 days ago
    Category median116.8K+6.6K40—

    Also by github

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description