Giter Site home page Giter Site logo

saqqdy / gitmars Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 10.0 29.38 MB

一个 git 工作流工具

Home Page: http://www.saqqdy.com/gitmars

License: GNU General Public License v3.0

Shell 0.59% TypeScript 99.14% JavaScript 0.27%
gitmars gitflow git-tool git-flow saqqdy git-ui gitm workflow clean-branch

gitmars's Introduction

logo.png

这是一个 git 工作流工具

NPM version build status Test coverage npm download License

Sonar

特性

  • 简单易懂的 api 设计
  • 封装了大量更易使用的 git 方法
  • 封装了大量 shell 相关方法

使用

开始: 快速上手
gitmars 配置参数:参数说明

# 初始化
gitm init

# 查看配置
gitm config list [option]

# 版本升级[-m --mirror]使用淘宝镜像升级
Mac用户:sudo gitm upgrade -m -c npm
Windows用户使用PowerShell或CMD:gitm upgrade latest -m -c npm.cmd

# 查看版本
gitm -v

# 查看帮助信息
gitm --help
gitm copy --help

安装

# 通过npm安装
npm install -g gitmars

# 或者通过yarn安装
yarn global add gitmars

工作流展示

1. 双主干分支发版模式

gitmars-branch.png

2. 单主干分支发版模式

gitmars-branch.png

有哪些功能

智能导航

gitm go

智能导航指令,只记一条指令就能完成所有功能使用

  • 使用:gitm go
  • 参数:
参数 说明 类型 可选值 必填 默认
command 指令名称 String combine、end、update、build、start、undo、redo、suggest、approve、review、admin.publish、admin.update、admin.create、admin.clean、admin.approve、branch、copy、get、save、cleanbranch、clean、revert、link、unlink、postmsg -
  • 示例:
gitm go build
  • 演示:

gitmars-go.gif

gitmars's People

Contributors

dependabot[bot] avatar saqqdy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gitmars's Issues

gitm ui启动问题

$ gitm ui
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module './db.json'
Require stack:

  • /usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/db/index.js
  • /usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/service/common.js
  • /usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/controller/common.js
  • /usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/routes/common.js
  • /usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/app.js
  • /usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/www.js
  • /usr/local/lib/node_modules/@gitmars/ui/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/db/index.js:15:15)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/db/index.js',
    '/usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/service/common.js',
    '/usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/controller/common.js',
    '/usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/routes/common.js',
    '/usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/app.js',
    '/usr/local/lib/node_modules/@gitmars/ui/node_modules/@gitmars/server/lib/www.js',
    '/usr/local/lib/node_modules/@gitmars/ui/index.js'
    ]
    }

OS: ubuntu 20.04
npm:
$ npm -v
8.11.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.