GitFlow Toolkit is a gitflow commit tool written by go, used to standardize the format of git commit message and quickly create gitflow branches, It should be noted that GitFlow Toolkit currently only supports the generation of the commit message style of the Angular community specification.
Starting from the v2.1.1 version, the white theme terminal will be supported, and the white theme color scheme is being adjusted.
Install | Uninstall |
Commit Success | Commit Failed |
Push Success | Push Failed |
Create Branch | |
Just download the latest version from the Release page and execute the install
command:
export VERSION='v2.1.5'
# download bin file
wget https://github.com/mritd/gitflow-toolkit/releases/download/${VERSION}/gitflow-toolkit-darwin-arm64
# add permissions
chmod +x gitflow-toolkit-darwin-arm64
# install
sudo ./gitflow-toolkit-darwin-arm64 install
After the installation is complete, you can delete the bin file.
If the go language development environment is installed locally, you can install it through the go get
command:
go install github.com/mritd/gitflow-toolkit/v2@latest
cmd | desc |
---|---|
git ci |
Enter commit message interactively |
git ps |
Push the current branch to the remote |
git feat NAME |
Switch a new branch from the current branch (feat/NAME ) |
git fix NAME |
git switch -c fix/NAME |
git hotfix NAME |
git switch -c hotfix/NAME |
git docs NAME |
git switch -c docs/NAME |
git style NAME |
git switch -c style/NAME |
git refactor NAME |
git switch -c refactor/NAME |
git chore NAME |
git switch -c chore/NAME |
git perf NAME |
git switch -c perf/NAME |
git style NAME |
git switch -c style/NAME |