Git workflow
Last updated
Was this helpful?
Last updated
Was this helpful?
If you follow the agreed git branching model, smooth and painless deployments are guaranteed.
No single change will ever be applied directly on any of the permanent branches. Changes always first mature in temporary branches, until they entirely meet the .
master
This branch is used on the production environment, and is released periodically.
hotfix/hotfix
Gets updated with master
when possible and needed (after each release to production).
This branch should always kept clean for emergencies.
Each issue gets its own feature branch.
All feature branches should be branched from the master
branch.
All feature branch pull requests should have master
as base branch.
The naming for the feature branches is:
Examples are:
An issue might require a hotfix that needs to be brought to production as soon as possible. All hotfix branches should be branched from the hotfix/hotfix
branch.
The naming for the hotfix branches is:
Examples are:
Only when the is entirely met, changes are merged back to the master
branch.
Only when the is entirely met, changes are merged back to the hotfix/hotfix
and master
branches.