IT lexicon › Web › Trunk-based development

Trunk-based development

Web På svenska → Updated: 2026-11-13

Development style where all developers push directly to main or use very short-lived branches (1–2 days maximum).

Trunk-based development eliminates long-lived branches and merge conflicts by forcing integration to happen constantly. Instead of feature branches that live for weeks, developers work on very short branches or directly on main with frequent pushes to CI. This requires strong test coverage and a fast feedback loop, but the payoff is lower integration overhead, simpler deployments, and rapid feedback.

It's the opposite of Git Flow, which is optimized for slow release cycles (monthly or quarterly). Trunk-based development scales better with continuous deployment and is the norm at high-velocity companies like Google and Netflix.

← Back to the lexicon