Back to Glossary
CI/CD

What is Trunk-Based Development?

A branching strategy where all developers commit frequently to a single main branch.

Trunk-Based Development (TBD) is a source control branching model where developers commit small, frequent changes directly to the main branch (trunk) rather than working in long-lived feature branches. Short-lived feature branches (1-2 days max) merged via PR are acceptable. TBD enables true CI/CD — every commit is potentially releasable. Feature flags gate incomplete features. Google, Facebook, and Microsoft all use trunk-based development at scale.

Test your knowledge of Trunk-Based Development and 130 other DevOps concepts