dev-master
9999999-dev http://github.com/jadb/monohookFully configurable and extendable VCS hook manager
MIT
The Requires
- php >=5.3.0
The Development Requires
by Jad Bitar
phpunit hook git phpcs codesniffer
Wallogit.com
2017 © Pedro Peláez
Fully configurable and extendable VCS hook manager
A re-visited approach to Git hooks - and probably other like Mercurial or Subversion?, (*1)
Monohook can be installed using Composer:, (*2)
composer require --dev jadb/monohook:dev-master
Now that you have the package installed, you just need to create your hooks and symlink them to
the .monohook config you create., (*3)
To create your .monohook, please refer to the one used for this repository., (*4)
Now, symlink the hooks you want managed by monohook:, (*5)
$ ln -s ../../.monohook .git/hooks/pre-commit $ ln -s ../../.monohook .git/hooks/post-commit $ ln -s ../../.monohook .git/hooks/pre-rebase
README.md)All contributed code must be licensed under the BSD 3-Clause License., (*6)
http://github.com/jadb/monohook/issues, (*7)
Copyright (c) 2015, Jad Bitar, (*8)
Licensed under the BSD 3-Clause License Redistributions of files must retain the above copyright notice., (*9)
Originally inspired by AD7six/git-hooks and Seldaek/monolog., (*10)
Fully configurable and extendable VCS hook manager
MIT
phpunit hook git phpcs codesniffer