Skip to content
Branch: master
Go to file
Code

Latest commit

CatTail committed c180423 Dec 10, 2019
Merge pull request #31 from git-hooks/chore/install-with-go-get
add instruction how to install via go get

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Readme.md

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

You can’t perform that action at this time.