Trunk-based development (TBD) is a development approach in which engineers integrate changes into a single shared main branch frequently, keeping branches short-lived and the system continuously releasable. It minimises divergence between code paths, reduces integration risk, and enables fast feedback cycles. TBD is a foundational practice for continuous integration and continuous delivery.
When teams rely on long-lived branches, integration becomes complex, testing is delayed, and releases require stabilisation phases. Changes accumulate, increasing uncertainty and the likelihood of defects. Mature organisations evolve toward frequent integration to trunk, supported by automation, testing, and practices such as feature flags to allow incomplete work to coexist safely. At the highest level, the trunk becomes the central nervous system of delivery, enabling rapid collaboration and continuous flow of value.
Description
Developers work on separate branches for extended periods, integrating only near release time.
Observable Characteristics
Outcomes & Risks
Description
Teams attempt to integrate more frequently, but branching remains the primary mechanism for managing work.
Observable Characteristics
Outcomes & Risks
Description
Developers integrate changes into the trunk frequently, keeping branches short and ensuring the system remains usable.
Observable Characteristics
Outcomes & Risks
Description
The health and efficiency of trunk-based development are measured and continuously improved.
Observable Characteristics
Outcomes & Risks
Description
All development revolves around a continuously stable trunk, enabling seamless collaboration and rapid delivery.
Observable Characteristics
Outcomes & Risks