@wanpengxu/xgit
v1.0.13
Published
优雅快捷地进行git push
Downloads
16
Readme
npm install -g @wanpengxu/xgit
包含以下指令:
xgit
? 请选择commit message类型
合法的提交日志格式如下(emoji 和 模块可选填):
[<emoji>] [revert: ?]<type>[(scope)?]: <message>
🎨 UI : 修改 UI 样式
🐛 fix : 修复 bug
💡 feat : 增加新功能
🚀 perf : 提升性能
📝 docs : 修改文档
✅ test : 增加测试用例
💎 style : 格式化代码
🔙 revert : 代码回退
🔨 refactor : 代码重构
🚧 chore: 改变构建流程、或者增加依赖库、工具等
回车选择 commit message 的种类
输入 message 后再次回车提交
xgit --no-verify
同 xgit commit
,增加了 --no-verify
选项,同 git commit -m"xxx" --no-verify
xgit --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
步骤