Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rosylilly/git_hook

git hooks management command line tool
https://github.com/rosylilly/git_hook

Last synced: 5 days ago
JSON representation

git hooks management command line tool

Awesome Lists containing this project

README

        

# git-hook

git hooks management command line tool.

## Installation

in global:

$ gem install git-hook

in project local:

$ echo "gem 'git-hook'" >> Gemfile

$ bundle install

use

$ git hook --version

## Usage

write .githooks file:

pre_commit 'GitHook::Hooks::RubySyntaxCheck', :require => 'git_hook/hooks/ruby_syntax_check'

and run it:

$ git hook apply