- Use lowercase letters.
- Separate words with hyphens (-).
- Keep branch names concise and descriptive.
- Avoid using special characters or spaces.
- Prefix feature branches with feature/.
- Prefix bug fix branches with bugfix/.
- Prefix release branches with release/.
- Prefix hotfix branches with hotfix/.
- Prefix documentation branches with documentation/.
- Add wip/ prefix for work in progress branches.
- Include "#" followed by the issue number and a slash (/) before the branch name.
Example branch names:
feature/#123/user-authentication
bugfix/#456/validation-error
release/#789/v1.2.0
hotfix/#1011/security-patch
wip/#1213/feature-branch
wip/#1415/bugfix-branch
docs/add-authentication