Earlier quoted context omitted.
Each commit can be merged independently as they're reviewed.
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.
GitHub Stacked PRs
61–70 of 548 posts
Re: GitHub Stacked PRs
#62how is this different than viewing a PR one commit at a time?
I'm not a huge fan, since stacked PRs mean the underlying issues don't get addressed (reviews clearly taking too long, too much content in there), but it seems they want something that works for their customers, right now, as they work in real life.
Re: GitHub Stacked PRs
#63As a solo dev I rarely need stacked PRs, but the underlying problem, keeping PRs small and reviewable, is real even when you're your own reviewer. I've found that forcing myself to break work into small branches before I start (rather than retroactively splitting a giant branch) is the actual discipline. The tooling just makes it less painful when you don't. Curious whether this changes anything for the AI-assisted w…
Re: GitHub Stacked PRs
#64I find this puzzling. It does not seem to allow to stack PRs on top of other people's PRs? There is already an option to enable review comments on individual commits (see the API endpoint here: https://docs.github.com/en/rest/guides/working-with-comments... ). Self-stacking PRs seem redundant.
Graphite (which they seem to be inspired by) has frozen branches exactly for that use case:
Re: GitHub Stacked PRs
#65If only there were some way to logically break up large pull requests into smaller pieces... Some way of creating a checkpoint with a diff including your changes, and some kind of message explaining the context behind the change... some way to "commit" a change to the record of the repository...
So much effort has been spent beating git until it's just CVS with bells on.
Re: GitHub Stacked PRs
#66- merge some commits independently when partial work is ready.
- mark some commit as reviewed.
- UI to do interactive rebase and and squash and edit individual commits. (I can do that well from the command line, but not when using the GitHub interface, and somehow not everyone from my team is familiar with that)
- ability to attach a comment to a specific commit, or to the commit message.
- better way to visualize what change over time in each forced push/revision (diff of diff)
Git itself already has the concept of commit. Why put this "stacked PR" abstraction on top of it?
Or is there a difference I don't see?
Re: GitHub Stacked PRs
#67Re: GitHub Stacked PRs
#68how is this different than viewing a PR one commit at a time?
Each commit can be merged independently as they're reviewed.
Re: GitHub Stacked PRs
#69Re: GitHub Stacked PRs
#70As someone who used phabricator and mercurial, using GitHub and git again feels like going back to the stone ages. Hopefully this and jujutsu can recreate stacked-diff flow of phabricator. It’s not just nice for monorepos. It makes both reviewing and working on long-running feature projects so much nicer. It encourages smaller PRs or diffs so that reviews are quick and easy to do in between builds (whereas long pull…