PRStack - GitHub PR Stacking Tool and PR Management CLI

The Ultimate PR Stacking Tool for GitHub

PRStack is the most flexible GitHub PR management tool and stacking CLI for Git and Jujutsu. Branch anywhere, work naturally, and let PRStack adapt to your workflow.

PRStack TUI - Interactive terminal interface showing PR stack management

Branch Anywhere

Create branches wherever you need them. PRStack dynamically discovers your stack from any position—no planning required.

Staying in sync

Run prstack sync from any branch to automatically trace your stack back to trunk. It will guide you through syncing up with the remote, detect which branches have open PRs and guide you through making missing ones.

CLI + TUI

Use quick CLI commands for speed or launch the interactive TUI for visual stack exploration and management.

Simple Workflow

1. Create your stacks

# Branch naturally as you work
git checkout -b feature-a

# ... make changes ...
git checkout -b feature-b

# ... make changes ...

2. Sync and create PRs

# Discover & manage your stack
prstack sync

# Discovers: feature-b → feature-a → main
# Guides you through making chained PRs

Why PRStack?

No predefined structures

Traditional stacking tools require planning. PRStack embraces organic development—branch, pivot, and explore freely.

VCS-agnostic design

First-class support for Jujutsu and Git, with extensible architecture for any VCS.

AI workflow proof

Modern parallelized workflows with multiple branches in flight? PRStack handles it effortlessly. See the Megamerge Workflow for a useful workflow when working with coding agents.

Ready to streamline your PR workflow?

Free and open source. Get started in minutes.

Built with ❤️ for developers who embrace the chaos | GitHub