Desenvolvimento baseado em trunk é uma estratégia de ramificação onde desenvolvedores integram pequenas mudanças frequentemente em um único branch principal (trunk), usando branches de muito curta duração (ou fazendo commit diretamente). Está fortemente associado a CI/CD de alto desempenho porque maximiza a integração contínua.
O que é desenvolvimento baseado em trunk
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.
