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
It allows you to simplify multiple git commands into one. And there is no need to worry about errors as it will immediately terminate if any command throws an error.
Install
npm install -g gitcutUsage
--init
Generate configuration file.
gt --initquery
Pull from a specified 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>If the remote repository has already been added, you can use its name instead of the url. For example, if you have already added a remote repository named origin, you can use it like this:
gt query origin <branch> [paths]submit
Submit all changes in the workspace. Following the commitlint-config-conventional types, emoji will be automatically added to the commit message. 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 🎉🎉🎉.