Skip to content

ferrgo/hookit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hookit Git

Deps

  1. jq > commit-msg hook uses jq for JSON parsing

Installation

Run ./install.sh it will put hookit in your bin folder

Run ./uninstall.sh to remove hookit from bin folder

Usage

Hookit!
Usage: hookit [ -cm ] [ -c | -s ] [-h]
-h, --help			Shows this help msg
-v, --version			Shows version
-u, --unhook			Unhooks the repo
-cm, --commit-msg		Adds commit-msg hook.
                        	Default behavior is to add all hooks,
                        	this makes hookit ignore non-specified hooks
-c, --config			Uses core.hooksPath from git to setup hooks.
-s, --symlink			Uses symlink from hookit folder to .git/hooks/

About

A shell tool for hooking you up

Topics

Resources

License

Stars

Watchers

Forks

Languages