[Step 13][Workflow] Git flow - Yellow-Team-Millerslab/GitPlayground GitHub Wiki
- Always have Develop and Master Branches. (Project admin should set develop branch as default branch)
- Feature Branches, it only interacts with
Developbranch. It is like Github flow, but interacting with theDevelopbranch.
- Create a branch.
- Make some changes and commit.
- Merge the latest code from
developbranch and create a pull request. - Project admin merge the pull request
- Project admin create a
releasebranch fromdevelopbranch. (This branch is only for bug fix) - When it is ready to release, Project admin merge
releasebranch intomasterbranch and tag it. - Project admin merge
releasebranch back todevelopbranch
Release Branch:
-
Handling Hotfix. (In Github flow it is just another branch)
- Create a branch from
master. (Only Hotfix can branch frommaster) - Make some changes and create a pull request.
- Project admin merge it back to
masteranddevelopbranch (or the currentreleasebranch)
- Create a branch from
Here is the testing repo for this workflow GitPlayGround-Git-Flow