@llhe/git
v0.0.2
Published
开发时 git自动化流程
Downloads
4
Readme
开发时 git自动化流程
安装: npm i -g @llhe/git
- 从master 签出 dev test
- merge dev test => push
- 签出pre => merge => push
- 签出dev test pre
- 删除 dev test
- 从远程master签出某个分支,并回到当前开发分支
- g --help 查看帮助
- g -v or g --version 获取版本
- g -s or g --start 开始开发 删除已有dev test pre 并从master重新签出这些分支
- g -d or g --dev 提测 将开发分支合到dev并push
- g -t or g --test 提测 将开发分支合到test 并push
- g -p or g --pre 预发 将开发分支合到pre 并push
- g -e or g --end 上线完成 删除dev test。 注: pre你自己删吧 啦啦啦
- g -r or g --remove XXX1 XXX2 批量删除XXX1 XXX2分支
- g -c or g --check XXX1 XXX2 从master批量签出XXX1 XXX2分支