To keep our repository clean and organized, we follow these branch naming conventions:
- Feature branches:
feature/<issue-id>-<short-description>
- Example:
feature/1234-new-login-page
- Example:
- Bugfix branches:
bugfix/<issue-id>-<short-description>
- Example:
bugfix/5678-fix-login-bug
- Example:
- Hotfix branches:
hotfix/<issue-id>-<short-description>
- Example:
hotfix/2345-critical-fix
- Example:
- Release branches:
release/<version>
- Example:
release/v1.2.0
- Example:
- Development branches:
develop/<short-description>
- Example:
develop/ui-enhancements
- Example:
- Experimental branches:
experiment/<short-description>
- Example:
experiment/new-ui-idea
- Example:
- Issue ID: Include the issue or task ID related to the branch.
- Short Description: Use a brief, hyphenated description of the branch purpose.
- Lowercase Letters: Use lowercase letters in branch names.
- Hyphens for Spaces: Use hyphens
-
to separate words.
Following these conventions helps everyone understand the purpose of each branch and keeps our development process streamlined.