Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/git-hooks/git-hooks

git hooks manager
https://github.com/git-hooks/git-hooks

git hook-manager

Last synced: 12 days ago
JSON representation

git hooks manager

Awesome Lists containing this project

README

        

# git-hooks
[![Build Status](https://travis-ci.org/git-hooks/git-hooks.svg?branch=master)](https://travis-ci.org/git-hooks/git-hooks)

> Hook manager

Rewritten from [icefox/git-hooks](https://github.com/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](https://github.com/git-hooks/git-hooks/releases) 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`

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

Install with `go install`

```bash
mkdir -p $GOPATH/src/github.com/git-hooks
cd $GOPATH/src/github.com/git-hooks
git clone [email protected]:git-hooks/git-hooks.git
cd git-hooks/
# install godep and restore deps
make get
# install binary
go install
```

## Usage

See [Get Started](https://github.com/git-hooks/git-hooks/wiki/Get-Started)

For more info, see [wiki](https://github.com/git-hooks/git-hooks/wiki)