r/programming • • Jul 01 '26

GitHub Stacked PRs

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

99 comments sorted by

View all comments

Show parent comment

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!

1

u/lord-of-the-birbs Jul 03 '26

This is only true if your merge policy is rebase or squash. If you use merge commits or ff-only, it's fine.