Resumo - Git Flow
Resumo - Git Flow
Main branches
• master - production-ready
• develop
Supporting branches
• Feature branches
• Release branches
• Hotfix branches
Feature branches
• May branch off from: develop
• Must merge back into: develop
• Branching naming convention: anything except
master, develop, release-*, or hotfix-*
1
Release branches
• May branch off from: develop
• Must merge back into: develop and master
• Branching naming convention: release-*
Hotfix branches
• May branch off from: master
• Must merge back into: develop and master
• Branching naming convention: hotfix-*
2
Creating the hotfix branch
3
release
feature
develop branches hotfixes master
branches
Tag
Time
0.1
Incorporate
bugfix in
develop
Tag
0.2
Start of
release
branch for
Only
bugfixes!