JSPM

  • Created
  • Published
  • Downloads 93
  • Score
    100M100P100Q72766F
  • License MIT

Shortcuts for git

Package Exports

  • gitcut
  • gitcut/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gitcut) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gitcut

Shortcuts for git

Install

npm install -g gitcut

Usage

--init

Generate configuration file.

gt --init

query

Pull from a specified repository. It is helpful when you want to sync updates from a template repository. You can directly use it like this.

gt query <remoteUrl> <branch> [paths]

Or use alias, which needs to be configured in the configuration file.

gt query <alias>

submit

Submit all changes in the workspace. Following commitlint-config-conventional types, the commit message will automatically include emoji 😈. All you need to do is enable it in the configuration file, as it is turned off by default.

gt submit <msg>

In addition, gt is compatible with all git commands 🎉🎉🎉.