MMP-CLI:Git 工作流神器

MMP-CLI 助力你轻松管理 Git 工作流,支持多种操作:

  • 初始化配置:mmp init
  • 查看配置:mmp ls
  • 提交当前分支:mmp ci
  • 选择提交到指定分支:mmp ci [分支]
  • 提交指定范围内的修改:mmp cp [开始提交 ID] [结束提交 ID] [目标分支]
  • 添加主分支:mmp add branch
  • 设置主分支命令:mmp set [主分支] [命令]
  • 添加需要创建 Pull Request 的分支:mmp add branch -b
  • 添加需要创建 Pull Request 的文件:mmp add path -f
  • 删除主分支:mmp del branch
  • 删除需要创建 Pull Request 的分支:mmp del branch -b
  • 删除需要创建 Pull Request 的文件:mmp del path -f

项目配置信息保存在.mmprc.json文件中,包括需要创建 Pull Request 的文件路径和分支。

zip
mmp-cli-master.zip 预估大小:26个文件
folder
mmp-cli-master 文件夹
folder
module.d.ts 文件夹
file
.gitignore 55B
file
.mmprc.json 146B
file
tsconfig.json 379B
file
README.md 1KB
folder
bin 文件夹
file
index 4KB
file
intro.png 16KB
file
package.json 1KB
folder
src 文件夹
folder
utils 文件夹
file
util.ts 3KB
file
cache.ts 2KB
file
build-script.ts 629B
file
cmd-constant.ts 696B
file
http.ts 519B
file
git.ts 3KB
file
config.ts 2KB
file
init.ts 5KB
file
pr.ts 1KB
file
build.ts 2KB
file
commit.ts 6KB
file
check-version.ts 1KB
folder
types 文件夹
file
index.d.ts 20B
folder
a.d.ts 文件夹
file
.travis.yml 21B
file
.editorconfig 147B
file
.eslintrc.js 195B
file
package-lock.json 20KB
zip 文件大小:35.13KB