Skip to content

BenDundon/git-toolkit

 
 

Repository files navigation

Git ToolKit

This is my personal git toolkit, built off mritd's 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.

Install Uninstall
Commit Success Commit Failed
Push Success Push Failed
Create Branch

Installation

x86_64

Currently, I'm only building binaries for x86_64, you can download and install as follows:

export VERSION='v0.5'

# download bin file
wget https://github.com/BenDundon/git-toolkit/releases/download/${VERSION}/gitflow-toolkit-x86_64

# add permissions
chmod +x gitflow-toolkit-x86_64

# install
sudo ./gitflow-toolkit-x86_64 install

Other arch/Install from source

Requires:

  • golang
# Clone the repository
git clone https://github.com/BenDundon/git-toolkit.git

cd git-toolkit

# build the binary
go build

sudo ./git-toolkit install

After the installation is complete, you can delete the bin file.

Comands

cmd desc
git ci Enter commit message interactively
git ps Push the current branch to the remote
git feature NAME Switch a new branch from the current branch (feature/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
git release NAME git switch -c release/NAME

About

A simple toolkit for Git, based around GitFlow.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%