gh-stack - Manage stacked branches and pull requests
Manage stacked branches and dependent pull requests with the gh-stack GitHub CLI extension.
Tags
Updated: 2026-12-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create stacked branches
- Push stacked branches
- Rebase stack layers
- Sync dependent branches
- Navigate stack layers
- View stack status
- Submit stacked pull requests
- Link external branches
- Rebuild branch stacks
Inputs
- Repository
- Branch names
- Branch prefix
- Pull request numbers
- Remote name
- Stack changes
Outputs
- Created branches
- Updated branches
- Pull requests
- Stack status
- Checkout state
- Command results
Requirements
- GitHub CLI v2.0+
- Authenticated GitHub CLI
- gh-stack extension
- Configured Git rerere
- Configured push default
