Skip to content

Branch Naming Guide

Guidelines for naming Git branches.

Follow GitFlow conventions:

TypePrefix
New featurefeature/
Bug fixbugfix/
Urgent bug fixhotfix/

See A successful Git branching model for full GitFlow specification.

Branches must reference a Jira ticket:

feature/DEV-1234-add-something
bugfix/DEV-5678-fix-something

Exceptions (routine operations like package upgrades) require manager approval before merging.

Branch names use lowercase only. Convert proper nouns (LPLlpl) and code concepts (SomeClasssomeclass).

Use hyphens - to separate words.

Only use letters and numbers. Avoid:

  • Underscore _
  • Backslash \
  • Dollar sign $
  • Parentheses ()
  • Asterisk *
  • Ampersand &
  • Percent %

Exception: . is allowed only in version numbers.

Excluding the format prefix (e.g., feature/DEV-1234), use 3-8 words. More than 10 is too long.

Examples:

  • feature/DEV-1234-add-lpl-integration
  • feature/DEV-1234-new-php-cs-fixer-rules
  • bugfix/DEV-1234-fix-exception-not-caught-in-engine-input-generation
  • bugfix/DEV-1234-fix-null-not-working-cloning-tweakset

Articles like the can be omitted:

  • feature/DEV-1234-enhance-the-pdf-reportfeature/DEV-1234-enhance-pdf-report

Use nouns and gerunds. Verbs must be in simple present tense (not past tense or third person singular).

Branch names are more concise than commit messages - they serve as identifiers or reminders rather than full descriptions.