Project

git_hook

0.0
No commit activity in last 3 years
No release in over 3 years
git hooks management command line tool
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

= 1.2.5
= 0.0.21
= 0.15.4
 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