Workflow
Trunk-based development
Very short-lived branches merged into trunk many times a day.
Best for: High-velocity teams with strong CI and feature flags.
How it works
- 1
Tiny branches
Branch, change, and merge within hours.
- 2
Merge to trunk
Integrate frequently to avoid drift.
- 3
Feature flags
Hide unfinished work behind flags rather than long branches.
Advantages
- Minimal merge pain
- Continuous integration
- Fast feedback
Tradeoffs
- Requires feature flags and strong tests
- Little room for long review cycles