Trunk-Based Development - CI/CD Glossary Definition
Trunk-based development is a branching model where developers integrate small changes into a single shared branch (the trunk) frequently, using short-lived feature branches that merge within a day or two. It is the branching model CI was designed for.
Why it matters
Short-lived branches keep merge conflicts small and the trunk always releasable. It pairs with feature flags to hide work-in-progress and with a merge queue to keep the trunk green.
Related guides
Feature Flag - CI/CD Glossary DefinitionFeature Flag: A feature flag (feature toggle) is a runtime switch that turns a code path on or off without re…
Merge Queue - CI/CD Glossary DefinitionMerge Queue: A merge queue serializes the merging of approved pull requests, testing each one against the lat…
Continuous Integration (CI) - CI/CD Glossary DefinitionContinuous Integration (CI): **Continuous integration** is the practice of automatically building and testing…