Re:A note of reflection after 10 years of “A successful Git ...
by dtech on Thursday March 05, 2020 @04:41PM
(#22498651)
> but just because they're complete doesn't mean you want them included in the next release.
That's the crux. Continous Delivery means exactly that. You want to release early, small and often. Trunk-based development and having every PR that is merged to master be deployed to production in a very short timeframe fits that very well. That's very possible with a solid CI/CD pipeline, good tests, and something that can be deployed often like a web app.
If you don't do continuous delivery, trunk-based development might be a less natural fit.
Re:A note of reflection after 10 years of “A successful Git ...
by grovellogic on Thursday March 05, 2020 @04:01PM
(#22498199)
You can merge master/develop into your PR multiple times, always keeping it up to date with the latest until until it can be merged.
This is the magic of git, it allows multiple merges something that wasn't possible in older systems.
you definitely want to get your PRs merged in to _something_ as soon as they are complete, to avoid bitrot. but just because they're complete doesn't mean you want them included in the next release.