Professional Documents
Culture Documents
Git Branching Startegy
Git Branching Startegy
Git Branching Startegy
Branches:
1. master Branch:
o The master branch typically serves as the main branch of the project,
representing the stable and production-ready code.
o All other branches are created from master initially.
2. dev Branch:
4. ppd Branch:
5. prod Branch:
6. dr Branch:
7. feature Branch:
8. bug-fix Branch:
o Created from dev, qa, ppd, or prod depending on where the bug is
found.
o Used for fixing bugs.
o Merged back into the respective branch it was created from.
9. hotfix Branch:
Diagrammatic Representation:
----> feature
/
master -- dev -- qa -- ppd -- prod -- dr
\ | |
----> bug-fix hotfix
This diagram illustrates the flow of branches in the Git repository, showing how
branches are created from one another and merged back into their respective parent
branches as part of the development workflow.