Skip to content
onsuggest
Log in
Article en

Stacked PRs: fixing abstractions with more layers of abstraction

Source: Hugo's weblog on WhyNotHugo (雨果) ·

In Git, a commit is the minimal unit of changes that can be applied to a repository. We can send multiple commits (e.g. multiple patches) to someone else, and they can selectively apply some of them without applying all of them. Or they can provide feedback for individual patches. Pull requests change this model: each PR contains multiple commits, and the workflow focuses on applying all or none of them. The UI makes it awkward to exchange feedback for a single commit, and provides no convenient mechanism to apply a single one. Stacked pull requests are an attempt to solve the problem introduc

Keyboard shortcuts

Previous discovery
←P
Next discovery
→N
Like
L
Not for me
X
Save
S
Show this help
?
Close
Esc

Shortcuts work on the discovery page.