Skip to content

tadd/git_hook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

git hooks management command line tool

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Ruby 100.0%