0.0.2 • Published 2 years ago
@kevin0825/kgit v0.0.2
npm install -g @kevin0825/kgit
包含以下指令:
kgit commit
kgit commit
? 请选择commit message类型
合法的提交日志格式如下(emoji 和 模块可选填):
[<emoji>] [revert: ?]<type>[(scope)?]: <message>
💥 feat(模块): 添加了个很棒的功能
🐛 fix(模块): 修复了一些 bug
📝 docs(模块): 更新了一下文档
🌷 UI(模块): 修改了一下样式
🏰 chore(模块): 对脚手架做了些更改
🌐 locale(模块): 为国际化做了微小的贡献
See https://github.com/vuejs/core/blob/main/.github/commit-convention.md (Use arrow keys)
❯ 💥 feat
🐛 fix
📝 docs
🌷 UI
🏰 chore
🌐 locale
回车选择 commit message 的种类
See https://github.com/vuejs/core/blob/main/.github/commit-convention.md 💥 feat
? 请输入commit message
输入 message 后再次回车提交
kgit commit --no-verify
同 kgit commit
,增加了--no-verify
选项,同git commit -m"xxx" --no-verify
kgit version
kgit version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
升当前项目的版本号,和 npm version
相同,只不过增加了执行 git push
步骤