Workflow
Release flow
Feature branches plus dedicated release branches.
Best for: Products with scheduled releases and long-term support.
How it works
- 1
Develop on feature branches
Merge features into main via PRs.
- 2
Cut a release branch
Branch main for stabilization.
git switch -c release/1.4 - 3
Stabilize and tag
Fix bugs on the release branch and tag the release.
git tag v1.4.0
Advantages
- Clear release isolation
- Supports hotfixes to old versions
- Predictable cadence
Tradeoffs
- More branches to manage
- Cherry-picking between branches adds overhead