Skip to content

git-hooks/git-hooks

Repository files navigation

git-hooks

Build Status

Hook manager

Rewritten from icefox/git-hooks, with extra features

Supported Go versions

git-hooks supports the latest two Go version. (Currently 1.12 and 1.13)

Install

Download tarball, extract, place it in your PATH, and rename it as git-hooks

If you already installed git-hooks, update it by git hooks update

Install with go get

$ export GO111MODULE="on"
$ go get -u github.com/git-hooks/git-hooks

Install with go install

mkdir -p $GOPATH/src/github.com/git-hooks
cd $GOPATH/src/github.com/git-hooks
git clone git@github.com:git-hooks/git-hooks.git
cd git-hooks/
# install godep and restore deps
make get
# install binary
go install

Usage

See Get Started

For more info, see wiki