Architecture Decision Records (ADRs)

← Home

Git branch names should only consist of ticket numbers, lowercase

Introduction

Across all practices, it's important to maintain naming conventions for branches to make it easier for PMs, Architects, and devs to manage commits, comments, and JIRA tickets. Consistency will reduce time to find relevant code and to onboard new team members more quickly.

Decision

Branch names should be in the following format:

proj-123

Where proj indicates the project abbreviation code in Jira and the 123 corresponds to the Jira ticket number where the task was requested.

Context

This is done for two main reasons:

  1. Branches can easily be traced back to their initial request via the ticket number.
  2. Branch names will meet the Pantheon MultiDev requirements of being lowercase and 11 characters or less.

Consequences

Exceptions

Additional Resources

None

← See more ADRs