Categorygithub.com/mritd/gitflow-toolkit
modulepackage
1.0.2
Repository: https://github.com/mritd/gitflow-toolkit.git
Documentation: pkg.go.dev

# README

GitFlow ToolKit

这是一个使用 go 编写的简单的 GitFlow 提交工具,用于规范 git commit 提交格式,目前仅支持 Angular 社区规范;同时该工具集成了一些扩展动作,比如快速创建指定名称前缀分支等

example

支持命令

命令描述
ci交互式输入 commit message
cm接受一个 commit message 字符串,并校验其格式(用作 commit hook)
feat接受一个字符串,并创建一个 feat 分支,分支名称格式为 feat/xxx
fix创建 fix 分支
hotfix创建 hotfix 分支(通常用于对 master 紧急修复)
docs创建 docs 分支
style创建 style 分支
refactor创建 refactor 分支
chore创建 chore 分支
perf创建 perf 分支
style创建 style 分支
ps推送当前分支到远程(git push origin xxxx)

安装与卸载

下载对应二进制文件,执行 sudo gitflow-toolkit install/uninstall 即可

# Packages

No description provided by the author
No description provided by the author
No description provided by the author