[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
Develop
branch. It is like Github flow, but interacting with theDevelop
branch.
- Create a branch.
- Make some changes and commit.
- Merge the latest code from
develop
branch and create a pull request. - Project admin merge the pull request
- Project admin create a
release
branch fromdevelop
branch. (This branch is only for bug fix) - When it is ready to release, Project admin merge
release
branch intomaster
branch and tag it. - Project admin merge
release
branch back todevelop
branch
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
master
anddevelop
branch (or the currentrelease
branch)
- Create a branch from
Here is the testing repo for this workflow GitPlayGround-Git-Flow