Home

Awesome

GitFlow ToolKit

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.

InstallUninstall
<img width="500" src="https://user-images.githubusercontent.com/13043245/134647305-a1df0023-972b-48c3-a6bf-668e96094df9.gif"><img width="500" src="https://user-images.githubusercontent.com/13043245/134646600-976f01b4-6000-41e7-8389-0d0e761e15c9.gif">
Commit SuccessCommit Failed
<img width="500" src="https://user-images.githubusercontent.com/13043245/134485491-993ef0cb-7438-4c42-9a2e-16db05503a0b.gif"><img width="500" src="https://user-images.githubusercontent.com/13043245/134485537-6375d280-10d2-4475-a834-7d0ad72248aa.gif">
Push SuccessPush Failed
<img width="500" src="https://user-images.githubusercontent.com/13043245/134485533-3a01d3be-0912-45cb-9e63-d343a7bad847.gif"><img width="500" src="https://user-images.githubusercontent.com/13043245/134485503-f7de0493-6d2d-403d-aa4d-79a62a83c048.gif">
Create Branch
<img width="500" src="https://user-images.githubusercontent.com/13043245/134485549-5ee7853d-1cc7-4a0f-b083-03514045f8eb.gif">

Installation

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

Comands

cmddesc
git ciEnter commit message interactively
git psPush the current branch to the remote
git feat NAMESwitch a new branch from the current branch (feat/NAME)
git fix NAMEgit switch -c fix/NAME
git hotfix NAMEgit switch -c hotfix/NAME
git docs NAMEgit switch -c docs/NAME
git style NAMEgit switch -c style/NAME
git refactor NAMEgit switch -c refactor/NAME
git chore NAMEgit switch -c chore/NAME
git perf NAMEgit switch -c perf/NAME
git style NAMEgit switch -c style/NAME