These are my personal rules for naming Git branches.
- Use all lowercase characters separating words by dashes (
-), no underscores (_) - Include GitHub issue number at the end (or Jira issue key at the beginning)
- Optional branch type prefix (e.g.
feat,fix,chore) separated by a forward slash (/) - Optional initials prefix (e.g.
sf) separated by a forward slash (/), these branches may have history rewritten
Example Branch Names
add-current-temp-endpoint-17ic-1287-add-current-temp-endpointfeat/add-current-temp-endpoint-17sf/feat/add-current-temp-endpoint-17sf/feat/ic-1287-add-current-temp-endpoint
Leave a Reply