Hook
More breakout videos from this creator.
Dude GitHub just released stacked PRs. A stacked PR. Exactly what it sounds like. Basically you're now able to stack PRs on so you don't have to wait for one before you keep working on it. Okay, and what exactly is the point of this? How most developers work. You get assigned a fairly large task PR to get the first part of it done. You submit that for review. But because there's other changes waiting to get reviewed, it takes your teammates a couple hours to to review that change. And during that time, you don't wanna start work on another PR cause what if this? So you end up getting blocked on your second PR for these guys to review your code. Well, with this instead, you can just create another PR on top of that initial PR. And each PR only contains specific changes. Off with a large PR covering a database change, then you could do an API level change and a front end change. Each part individually. That's kind of nice. Is there any reason do this now? How? One of the biggest reasons is because with AI, people are writing a lot more code. As a developer, you could just patch an agent, a 4,000 line PR in 20 minutes. But with stacked PRs, you can have your into multiple smaller PR to review the code. It becomes a lot easier to do so. I'm still not convinced. What do you guys think?