File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 1- # gitflow-toolkit
2- gitflow-toolkit
1+ # GitFlow ToolKit
2+
3+ > 这是一个使用 go 编写的简单的 GitFlow 提交工具,用于规范 git commit 提交格式,目前仅支持 [ Angular 社区规范] ( https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#heading=h.greljkmo14y0 ) ;同时该工具集成了一些扩展动作,比如快速创建指定名称前缀分支、命令行发起 GitLab MR 等
4+
5+ ![ example] ( imgs/example.gif )
6+
7+ ## 支持命令
8+
9+ | 命令 | 描述 |
10+ | --- | --- |
11+ | ci | 交互式输入 ` commit message ` |
12+ | cm | 接受一个 ` commit message ` 字符串,并校验其格式(用作 commit hook) |
13+ | xmr | 交互式创建 GitLab MR,如果当前项目未配置,则首先配置项目信息 |
14+ | feat | 接受一个字符串,并创建一个 feat 分支,分支名称格式为 ` feat/xxx ` |
15+ | fix | 创建 fix 分支 |
16+ | hotfix | 创建 hotfix 分支(通常用于对 master 紧急修复) |
17+ | docs | 创建 docs 分支 |
18+ | style | 创建 style 分支 |
19+ | refactor | 创建 refactor 分支 |
20+ | chore | 创建 chore 分支 |
21+ | perf | 创建 perf 分支 |
22+ | style | 创建 style 分支 |
23+
24+ ## 安装与卸载
25+
26+ 下载对应二进制文件,执行 ` gitflow-toolkit install/uninstall ` 即可
You can’t perform that action at this time.
0 commit comments