PrStack
Reference

Commands Overview

Overview of all PrStack commands

Commands Overview

PrStack provides both a Terminal UI and individual CLI commands for managing PR stacks.

Terminal UI

prstack

Launch the interactive Terminal UI for a visual, interactive experience. The TUI provides:

  • Visual representation of your PR stack
  • Diff viewing between branches
  • Interactive PR creation and management
  • Navigation with keyboard shortcuts

CLI Commands

Core Commands

Quick Reference

CommandPurposeUsage
prstack or prstack tuiLaunch Terminal UIInteractive stack management
prstack syncSync stack with remoteRun frequently to keep stack in sync
prstack listView stack structureQuick overview of your current stack
prstack createCreate PRsBatch create PRs for your stack

Common Workflows

Quick sync workflow:

# Make changes and commit
jj commit -m "Add feature"

# Sync everything
prstack sync

Explore and manage visually:

# Launch TUI for interactive management
prstack

Check stack structure:

# View current stack
prstack list --include-prs

Next Steps

Explore each command in detail:

On this page