-
Notifications
You must be signed in to change notification settings - Fork 78
Description
What maintenance does this project need?
PRs have been becoming very long which makes reviewing collaboration and merging increasingly more difficult. One approach that has become quite prevalent in open-source project to deal with complex PRs is the concept of stacked diffs.
Stacked diffs allow to split the PR into multiple PRs where PRs are dependent on each other and are more easily digestible. This allows developers to work on features without having to wait for those to be merged into main and without increasing the complexity of the original PR.
GitHub does not natively support this feature but it supported through 3rd party extensions such as ghstack. ghstack is used for instance by the torch team - example.
Here is a diagram comparing the original workflow to that of stacked diffs from this blog.

cc: @anaprietonem @mchantry @frazane
Organisation
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status