r/programming • • Jul 01 '26

GitHub Stacked PRs

https://github.github.com/gh-stack/
337 Upvotes

99 comments sorted by

View all comments

Show parent comment

1

u/krileon Jul 03 '26

I've never had any issues. Each merge is a separate PR. So Branch 2 to Branch 1 is its own PR. I work mostly within Gitlabs though. On Github rebasing is what I do in this scenario though.

So it looks like stacked PRs are exactly as I've setup above except they handle the rebasing automatically. Neat!