In order to ensure a proper tracking and monitoring of the progress, we want to establish some workflows for the git usage (commits, branches, pull-requests, merging, testing).
We use 3 branches:
dev branchpreview branchmaster branchWe need to follow a naming structure for the commits and branches
#455-menu-multilingual-styles-update - where 455 is the issue number and followed up by a extensive description of what the fix was.
In most cases - each task will be done in a separate feature branch. In some cases, a feature branch can contain multiple smaller tasks that are somehow related to each other, in this case the title will display the number of each task and a generic name
feature-455-menu-multilingual-styles-update - where 455 is the issue number and followed up by an extensive description of what the fix was.feature-455-456-457-styles-update - where 455,456,457 are the issue numbers and followed up by a generic description of what the fix was.Not to do:
like fix, fix #234, #324
Also, we will use for feature branches 3 types of feature codes:
Release branches will group feature branches that can be tested. Dev branch will not be used for deployment anymore to the dev environment.
Release branches will be deployed to the dev environment from now on.
Feature branches are started by default from the dev branch
If a new feature is dependent on a feature in a release which is not yet merged - the feature branch should start FROM that release branch