0.0.1 • Published 8 months ago

git-commit-xgit v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago
npm install -g @wanpeng.xu/xgit

包含以下指令:

xgit commit

xgit commit

? 请选择commit message类型
合法的提交日志格式如下(emoji 和 模块可选填):

[<emoji>] [revert: ?]<type>[(scope)?]: <message>

💥 feat(模块): 添加了个很棒的功能
🐛 fix(模块): 修复了一些 bug
📝 docs(模块): 更新了一下文档
🌷 UI(模块): 修改了一下样式
🏰 chore(模块): 对脚手架做了些更改
🌐 locale(模块): 为国际化做了微小的贡献

回车选择 commit message 的种类

输入 message 后再次回车提交

xgit commit --no-verify

xgit commit,增加了 --no-verify 选项,同 git commit -m"xxx" --no-verify

xgit commit --select

xgit commit,增加了 --no-select 选项,可以选择文件进行提交,按 空格 选择,按 a 全选, i 反选

xgit version

xgit version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]

升当前项目的版本号,与 npm version 相比增加了执行 git push 步骤