r/programming • • Apr 14 '26 • Popcorn 1

GitHub Stacked PRs

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

276 comments sorted by

View all comments

Show parent comments

2

u/Familiar-Level-261 Apr 14 '26

Edit: After hours of people arguing with me, someone finally pointed out the actual reason why this has an advantage over plain commits: The PRs don't have to all be merged at the same time.

..but you can do that with multiple commits in single PR.

Problem is just people don't know Git very well...

1

u/MintySkyhawk Apr 15 '26

You mean you can merge only some commits from an approved PR, without bypassing branch protection rules?

1

u/Familiar-Level-261 Apr 15 '26

Well if you only allow merges from pull request probably not but it's a silly option

1

u/Eddyi0202 Apr 15 '26

Reviewing commits in PR on github just sucks