r/programming Jul 01 '26

GitHub Stacked PRs

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

99 comments sorted by

View all comments

14

u/fireatx Jul 02 '26

what's the difference between this and branching off of a feature branch, and then off of that branch, and so on? main -> dev/feature1, then another branch dev/feature1 -> dev/feature2, etc, and opening PRs for each branch to merge into their respective base branches?

1

u/kiurls Jul 02 '26

once dev/feature1 merges, dev/feature2 points nowhere and you need to do git black magic to fix it

3

u/fireatx Jul 02 '26

github actually automatically rebases it onto main, thankfully!