1.0.0 • Published 3 years ago

@kangyong/gitotal v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

gitotal

一键管理多个 git 项目的 cli 工具,支持多个 git 项目的一键查看、拉取、提交

install

npm i -g gitotal

Usage

  • gitotal ls
  • gitotal status
  • gitotal push <origin> <branch>
  • gitotal pull <origin> <branch>
gitotal ls

列出当前目录下的所有 git 项目

gitotal status

列出当前项目下的所有 git 项目 status 状态

gitotal push <origin> <branch>

当前目录下所有 git 项目 全部文件添加到缓存区 并进行一次提交 会默认添加提交信息 'feat: push by gitotal'

gitotal pull <origin> <branch>

拉取当前目录下所有的 git 项目远端仓库的最新代码到本地

TODO

  • 优化 gitotal status 展示,使用表格输出