Trunk-based development is a branching strategy where developers integrate small changes frequently into a single main branch (trunk), using very short-lived branches (or committing directly). It's strongly associated with high-performing CI/CD because it maximizes continuous integration.
What trunk-based development is
Developers commit small, frequent changes to a SINGLE shared branch (trunk/main):
→ very SHORT-LIVED branches (merged within hours or a day) — or commit directly
→ integrate continuously (multiple times a day) into trunk
→ trunk is kept always RELEASABLE (working, deployable)
→ vs long-lived feature branches that diverge for days/weeks before merging.
