Skip to main content

Branching

The repository uses a Git Flow-inspired branching model.

Long-lived branches

main

Represents the stable production-oriented branch.

develop

Represents the main development and integration branch.

Regular branch formats

feat/<scope>/<slug>
fix/<scope>/<slug>
refactor/<scope>/<slug>
docs/<scope>/<slug>
test/<scope>/<slug>
chore/<scope>/<slug>
hotfix/<scope>/<slug>
release/<version>

Default base branches

Most regular development branches are created from:

develop

Hotfix branches default to:

main

Release branches default to:

develop

Interactive branch creation

Use:

pnpm branch

The branch wizard asks for:

  • branch type
  • scope
  • description
  • optional remote refresh
  • base branch
  • final confirmation

Workspace scopes are discovered dynamically from repository applications and packages.

Custom kebab-case scopes are also supported.

Validation

Check the current branch manually:

pnpm branch:validate

The same validation runs through Git hooks.