mirror of https://github.com/xiaoqidun/gitcz.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
continuous-integration/drone/push Build is passing
Details
|
2 years ago | |
---|---|---|
.drone.yml | 2 years ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 2 years ago | |
gitcz.go | 3 years ago | |
go.mod | 2 years ago |
README.md
gitcz
Golang版本Git Commitizen,commit规范工具
快速安装
go install github.com/xiaoqidun/gitcz@latest
编译安装
git clone https://github.com/xiaoqidun/gitcz.git
cd gitcz
go build gitcz.go
手动安装
- 根据系统架构下载为你编译好的二进制文件
- 将下载好的二进制文件重命名为gitcz并保留后缀
- 把gitcz文件移动到系统PATH环境变量中的目录下
- windows外的系统需使用chmod命令赋予可执行权限
使用说明
# 添加文件到本地仓库
git add .
# 使用-amend参数可覆盖最近一次提交信息,等同于git commit --amend
gitcz
# 推送文件到远程仓库
git push
规范文档
gitcz使用:angular git commit规范