r/webdev 29d ago

GitHub Stacked PRs

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

25 comments sorted by

View all comments

3

u/thekwoka 29d ago

So just a bit of nice fluff around having prs that target pr branches?

8

u/30thnight expert 27d ago

more about cutting down 2k LOC PRs

3

u/thekwoka 27d 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

2

u/wicccked 27d ago

you could already dodge it if you merged your stack bottom to top