Trunk-based development என்பது ஒரு branching strategy ஆகும், இதில் developers சிறிய மாற்றங்களை அடிக்கடி ஒரு one main branch (trunk) ஆக ஒருங்கிணைக்கின்றனர், மிகவும் குறுகிய-கால 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.
