gocz is a go version of commitizen
- use
go get -u -v github.com/terryding77/gocz/cli/git-cz
download and install binary file - use
ls -al $GOPATH/bin/git-cz
ensure binary file created - keep
$GOPATH/bin
in your PATH environment variable, if not, useexport PATH=${PATH}:$GOPATH/bin
- you can copy the basic .gocz.toml file in $GOPATH/src/github.com/terryding77/gocz/sample/ to your git repo root, or home root.
- use operation
git cz
to replacegit commit