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
- prstack sync - Sync your current stack with remote, create/update PRs
- prstack list - List your current stack structure
- prstack create - Create PRs for your stack
- prstack tui - Launch the Terminal UI (same as running
prstack)
Quick Reference
| Command | Purpose | Usage |
|---|---|---|
prstack or prstack tui | Launch Terminal UI | Interactive stack management |
prstack sync | Sync stack with remote | Run frequently to keep stack in sync |
prstack list | View stack structure | Quick overview of your current stack |
prstack create | Create PRs | Batch 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:
- prstack sync - Detailed sync behavior and options
- prstack list - Listing options and output
- prstack create - PR creation details
- prstack tui - TUI features and navigation