Trunk-based development అనేది ఒక branching strategy, ఇక్కడ డెవలపర్లు చిన్న చేతులను తరచుగా ఒకే main branch (trunk)కు integrate చేస్తారు, చాలా short-lived branches ఉపయోగించి (లేదా నేరుగా commit చేయడం). ఇది high-performing CI/CD తో బలంగా అనుబంధించబడినది ఎందుకంటే ఇది continuous integration ను maximize చేస్తుంది.
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.
