🔀 Git Branching Strategy Vocabulary
0 / 5 completed
1 / 5
A tech lead says: "Our team practices trunk-based development."
What characterises trunk-based development (TBD)?
Trunk-based development (TBD) vs. GitFlow:
| Approach | Branch lifetime | Best suited for |
|---|---|---|
| TBD | Hours to 1–2 days max | Continuous delivery, web apps |
| GitFlow | Weeks (features), days (hotfix) | Versioned software, mobile apps |
TBD benefits: CI works effectively, reduces merge hell, forces incremental changes. Feature flags handle incomplete work on trunk. Key vocabulary: trunk, short-lived branch, feature flag for incomplete work, continuous integration prerequisite.