> everyone makes small PRs to it
I don't think that's the trunk based development that they're advocating for. I believe the version they're advocating for is where all developers commit and push changes directly to the main branch.
I don't think that's the trunk based development that they're advocating for. I believe the version they're advocating for is where all developers commit and push changes directly to the main branch.
If there is a benefit to true trunk-based development over just trunk-oriented DVCSs usage, the article did not describe it.
Anyway, agreed. Particularly, I wonder how any significant refactoring is approached.
Significant refactoring, done correctly, is a series of small refactorings, and they can be integrated every 30-60 min to minimize impact of changes.
You see what everyone has done and how it affects you before you can push.
(I'm not advocating for this, but I've worked in this style and it has pros and cons).