Trunk-based development ही एक branching strategy आहे जिथे developers वारंवार एकच मुख्य branch (trunk) मध्ये लहान changes एकत्रित करतात, अत्यंत अल्पकालीन branches वापरून (किंवा थेट commit करून). हे उच्च-कार्यकारी CI/CD सोबत दृढपणे संबंधित आहे कारण ते continuous integration ला कमाल करते.
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.
