Link Search Menu Expand Document

Feature Branches

Table of Contents

Feature Branches

Pattern

feature/...

Examples

feature/newFeature

Description

Create feature branches based on any branch of the mainline (any one of the semver/... branches).

The feature branch is allowed to have commits that are not complete, don’t build, or don’t pass tests.

The feature branch may only merge back into the mainline branch it was created from. Don’t merge a feature branch in a way that spans a gap in a semver level, instead rebase the branch onto the branch it will later be merged into: Don’t Span the Gap - Restart Branches After Merging

See Mainline with Semantic Versioning for examples of log graphs containing feature branches.

Next

Don’t Span the Gap - Restart Branches After Merging