NAME

new-commit-hook - create repocafe commit hooks.


SYNOPSIS

new-commit-hook [-v] [-q] [-d] [-f] [-c conf] [-pre] [-post] [-a | repo_id]


DESCRIPTION

New-commit-hook creates commit-hooks for one specified repo, or all repo's (-a) ;

by default, both 'pre-commit' and 'post-commit' hooks are installed, from templates in 'lib/'.

It is called by the web application when a new repository is created.

Normally, new-commit-hook is not used by repocafe admins.


OPTIONS

-v

be verbose

-q

be quiet

-d

show debug info

-f

action ; otherwise dry-run

-c conf

use config file conf

-a | repo_id

install new commit hooks for all repo's

-pre

only install pre-commit hooks

-post

only install post-commit hooks

repo_id

install commit hooks for repo with id repo_id


AUTHOR

© 2010 - 2016 Koos van den Hout - Henk P. Penning
ICT-β, Faculty of Science, Utrecht University
repocafe version 0.13.6 - Tue Jan 19 16:00:49 2016 - revision 257


Valid XHTML 1.0 Strict   Valid CSS!