-
Notifications
You must be signed in to change notification settings - Fork 3
manual setup
Andrew Roslik edited this page Mar 11, 2016
·
1 revision
To set up GIT hooks you have to set up your commit-msg and pre-commit files. If you placed commithook project into the same projects root directory and you have just to copy such files from commithook directory into yourproject/.git/hooks. In other cases please set up them manually.
Also you may use following template to create commit-msg and pre-commit files:
#!/usr/bin/env /your/php
<?php
$hookName = __FILE__;
require_once '/path/to/commithook/bin/runner.php';
Found an issue? Let's post it!.
- Test 1
- Test 2