This document defines Git naming conventions for branches and commit messages. It is designed with a purpose to support task and sprint management using ClickUp.
Serves as the Holy Grail of Git branches within our project. It represents the production-ready branch that always contains stable and working code. Any team member can confidently use this branch to run the project without encountering issues. Similar to the Holy Grail, which was sought after as the ultimate treasure, the main
branch holds the culmination of our development efforts, ensuring reliability and readiness for deployment.
The stage
branch acts as the development branch where all changes, including new features, bug fixes, and other updates, are integrated and tested. This branch serves as the proving ground for code before it is deemed stable enough to be merged into the main
branch.
The release
branch follows the naming convention release/yymmdd
(where y
is the year, m
is the month, and d
is the day). This branch is created from the main
branch and serves as a dedicated branch for preparing a new production release. It allows the team to finalize features, perform thorough testing, and make any necessary last-minute adjustments without disrupting ongoing development work. Once the release is thoroughly vetted and ready, it is merged back into the main
branch and deployed to production.
For branch and commit message naming we use ClickUp task ID principle. We're going to use the ClickUp task ID 86bzma9gg
as a reference. Branches should be named using the format type_of_change/task_id
.
feature/86bzma9gg
or feat/86bzma9gg
.bug/86bzma9gg
.fix/86bzma9gg
.chore/86bzma9gg
.By categorizing branches this way, we maintain a clear structure and purpose for each type of change, ensuring efficient and organized development workflows.