Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rosylilly/git_hook
- Owner: rosylilly
- License: mit
- Created: 2012-07-27T03:35:05.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-27T06:28:49.000Z (over 12 years ago)
- Last Synced: 2024-12-22T13:14:52.667Z (15 days ago)
- Language: Ruby
- Size: 123 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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