penguin-git-cli v2.0.1
eGroup flow
eGroup flow document
Outline
- Overview
- Get Started
- init flow
- create branch
- finish current branch
- merge latest master branch into prerelease branch
Overview
eGroup flow is a flow which combine git flow and github flow and this is it diagram.
Inorder to let programmer don't need to handle with complex stuff so we create this cli interface.
Get Started
yarn add penguin-git-cli -D
Or
npm i penguin-git-cli -D
init flow
Create nessary prerelease and release branch from Master.
create branch
Create a new branch, which includes following choice.
- bug, Create a branch from master branch with bug prefix name.
- feature, Create a branch from master branch with feature prefix name.
- refactor, Create a branch from master branch with refactor prefix name.
- hotfix, Create a branch from master branch with hotfix prefix name.
finish current branch
If bug fixed or feature done which includes any version update can use this option.
Notice: Refactors will not update version. Hotfixs will merge into both master and prelease branch but with different version.The different is that master branch have the same behavior as bug branch but prelease branch add hotfix suffix.
merge latest master branch into prerelease branch
This option is use to merge master branch into prerelease branch and it's important before you merge into release. We highly recommend to test prerelease branch in test server before product deploy.