Trunk-based development shine tsarin reshe inda masu haɓaka ke haɗa ƙananan canje-canje sau da yawa zuwa wacce reshe ɗaya (trunk), ta amfani da reshen ɗan gajiya kos-kos (ko mika-mika kai tsaye). Yana da alaƙa sosai da CI/CD mai girma domin yana cikakken haɗawa na taimakawa.
Menene trunk-based development
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.
