logoalt Hacker News

Machayesterday at 9:10 PM2 repliesview on HN

Each commit can be merged independently as they're reviewed.


Replies

CharlieDigitalyesterday at 9:22 PM

I don't think this is it. The main driver is that several operations in GH are scoped around a PR, not a commit. So the reason you need stacked PRs is that the layer of tooling above `git` is designed to work on logical groups of commits called a PR.

show 1 reply
Hamukoyesterday at 9:11 PM

One of the advertised features of this is being able to merge all the PRs at once. Which would also be the case for multiple commits in a single PR.

show 2 replies