gh-stack
Manage stacked branches and pull requests from the terminal
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install gh-stack?โผ
Run `npx skills add github/gh-stack --all -g -y` in your terminal to install all tools in this suite globally.
What are stacked pull requests?โผ
Stacked PRs break a large change into a chain of small branches where each PR builds on the one below it, so reviewers only see one layer's diff at a time.
How does gh-stack automate git workflows?โผ
It automates branch creation, cascading rebases, PR base assignment, and stack navigation with single commands like `gh stack init`, `add`, `submit`, and `sync`.
Does gh-stack work with AI coding agents?โผ
Yes. It ships a SKILL.md that teaches AI agents the non-interactive flags, exit codes, and recovery steps needed to manage stacks without human input.
Do I need to know git internals to use gh-stack?โผ
No. Simple commands handle the complex rebasing and syncing for you, and your AI agent can drive the whole workflow from plain-English requests.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core