-
Notifications
You must be signed in to change notification settings - Fork 7
Gitflow model
The model used to manage the git branches is GitFlow.
-
main
: This branch is used to publish final releases, and as base fordevelop
and anyhotfix/
branch. Each release must be tagged properly with its version number. For each change committed to this branch, a rebase must be done on thedevelop
branch. -
develop
: This branch is used as base for anyfix/
,feat/
,refact/
andrelease/
branch. -
fix/
,feat/
,refact/
: Temporary branches used to fix bugs, develop new features, and make code refactor, respectively. They must be created fromdevelop
and merged back and deleted. -
release/vX.X.X
: Temporary branches where to apply final adjustments prior publishing a new release. They must be created fromdevelop
, and merged tomain
and deleted once they are ready. -
hotfix/
: Temporary branches used to fix critical bugs of a previously published release. They msut be created frommain
, and merged back and deleted.
Below there is a diagram representing the flow: