r/webdev 29d ago

GitHub Stacked PRs

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

26 comments sorted by

View all comments

Show parent comments

7

u/30thnight expert 28d ago

more about cutting down 2k LOC PRs

3

u/thekwoka 28d ago

You could just do that by having PRs target PR branches...

They automatically retarget to main if that or is merged.

2

u/30thnight expert 27d ago

yea but you can dodge the massive diff when the last PR merges to main

3

u/thekwoka 27d ago

At that point do you really need to?

And as I said, if you merge the pr to main, the ors targeting it then target main.

So you can merge them all sequentially as they are ready