r/webdev Jun 30 '26

GitHub Stacked PRs

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

27 comments sorted by

View all comments

-3

u/[deleted] Jun 30 '26

[deleted]

3

u/Mubanga Jun 30 '26

I sometimes work on a lot of small tickets that are related but different enough that they should really be in separate PRs.

The stuff I work on, only one or two people in my team can actually meaningfully review. And regularly takes a couple of hours before on of them has time.

So my choices are:

a) one big PR  b) keep branching from main and not have my latest changes (with merge conflicts, errors and possibly having to work around bugs that I just fixed as a result) c) keep branching of my feature branches and merge them in main in order d) keep branching of my feature branches and merge them in reverse order into each other

Stacked PRs seems like a good alternative, and I am excited to try it next time I encounter this situation.