Difference between revisions of "Git Branching Strategy"
From Gcube Wiki
Manuele.simi (Talk | contribs) (Created page with "''Back to the CI guide.''") |
Manuele.simi (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | * The ''master'' branch is the stable branch | ||
+ | * One (and only one) develop (''dev'') branch is created from master | ||
+ | * Feature (''feature/issue'') branches are created from ''dev'' | ||
+ | * When a ''feature'' is complete it is merged into the ''dev'' branch | ||
+ | * When ''dev'' has enough stable features to release it is merged into ''master'' | ||
+ | * If an issue (typically a bug requiring immediate attention) in master is detected a ''hotfix'' branch is created from ''master'' | ||
+ | * Once the hotfix is complete it is merged to both ''dev'' and ''master'' | ||
+ | |||
''Back to the [[Continuous_Integration_procedure_(2019) | CI guide]].'' | ''Back to the [[Continuous_Integration_procedure_(2019) | CI guide]].'' |
Revision as of 04:22, 24 May 2019
- The master branch is the stable branch
- One (and only one) develop (dev) branch is created from master
- Feature (feature/issue) branches are created from dev
- When a feature is complete it is merged into the dev branch
- When dev has enough stable features to release it is merged into master
- If an issue (typically a bug requiring immediate attention) in master is detected a hotfix branch is created from master
- Once the hotfix is complete it is merged to both dev and master
Back to the CI guide.