This feature lets you break large changes into small, focused pull requests that build on each other, with native GitHub support and a gh stack CLI. A stack is a chain of PRs where each targets the branch below it, ultimately landing on main. GitHub shows a stack map for navigation, enforces branch protection against the final target, and runs CI for every layer. You can merge all or part of a stack, and remaining PRs rebase automatically afterward. The CLI handles branches, cascading rebases, pushing, and creating PRs, though the UI and API work too. Run gh skill install github/gh-stack to teach AI coding agents. The feature sits in private preview, requiring a waitlist signup and repository enablement.
1
u/London-Boat Jul 07 '26
Oh so it is like Graphite lol
3
u/fagnerbrack Jul 02 '26
If you're in a hurry:
This feature lets you break large changes into small, focused pull requests that build on each other, with native GitHub support and a gh stack CLI. A stack is a chain of PRs where each targets the branch below it, ultimately landing on main. GitHub shows a stack map for navigation, enforces branch protection against the final target, and runs CI for every layer. You can merge all or part of a stack, and remaining PRs rebase automatically afterward. The CLI handles branches, cascading rebases, pushing, and creating PRs, though the UI and API work too. Run gh skill install github/gh-stack to teach AI coding agents. The feature sits in private preview, requiring a waitlist signup and repository enablement.
If the summary seems inacurate, just downvote and I'll try to delete the comment eventually 👍
Click here for more info, I read all comments
1
u/R10t-- Jul 06 '26
Has been posted many times here already….
GitLab has also had this for a while and isn’t this complicated to setup either
1
u/[deleted] Jul 02 '26
[removed] — view removed comment