@e-group/git-flow-cli
v2.1.2
Published
**git-flow-cli document**
Downloads
16
Readme
git-flow-cli
git-flow-cli document
Outline
Overview
This project's main purpose is to let programmers don't need to handle with complex git stuff.
Our flow basic following the github-flow but the only difference is that we have a prerelease branch inorder to deploy to testing server.
The reason we don't deploy in develop branch is that we still have some config need modify manually.
Get Started
yarn add @e-group/git-flow-cli -D
Or
npm i @e-group/git-flow-cli -D
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.
prepare to prerelease
This option is use to merge master branch into prerelease branch. We highly recommend deploy prerelease branch in testing server but this is totally optional.