Branching Strategy
Main Branches:
- master (Production)
- dev (Development)
- qa (QA)
- uat (UAT)
- staging (Staging)
Supporting Branches:
- Feature branches
- Release branches
- Hotfix branches
The following convention should be followed:
- Every feature branch should be a branch of
devand should be merged todevafter PR is reviewed. - The main branches should be created as required and should follow the hierarchy should be
master<-uat<-qa<-dev. - Every feature, task is done in a separate branch named according to the JIRA issue name.
- Any critical bug after production release is done via hotfix branches. It is branched off from
masterand merged back to master and dev after it’s done.