ટ્રંક-બેસ્ડ ડેવલપમેન્ટ એક branching strategy છે જ્યાં developers નાના પરિવર્તનો વારંવાર એક જ main branch (trunk) માં integrate કરે છે, ખુબ જ ટૂંકા-જીવિત branches (અથવા સીધું commit) નો ઉપયોગ કરીને. તે ઉચ્ચ-પ્રદર્શન CI/CD સાથે મજબૂતપણે સંબંધિત છે કારણ કે તે continuous integration ને મહત્તમ કરે છે..
ટ્રંક-બેસ્ડ ડેવલપમેન્ટ શું છે
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.
