git-hook(1) =========== NAME ---- git-hook - run git hooks SYNOPSIS -------- [verse] 'git hook' run [--to-stdin=] [--ignore-missing] [-- ] DESCRIPTION ----------- This command is an interface to git hooks (see linkgit:githooks[5]). Currently it only provides a convenience wrapper for running hooks for use by git itself. In the future it might gain other functionality. SUBCOMMANDS ----------- run:: Run the `` hook. Any positional arguments to the hook should be passed after an optional "--" (or "--end-of-options"). See "OPTIONS" below for the arguments this accepts. OPTIONS ------- --to-stdin:: For "run"; Specify a file which will be streamed into the hook's stdin. The hook will receive the entire file from beginning to EOF. --ignore-missing:: Ignore any missing hook by quietly returning zero. Used for tools that want to do a blind one-shot run of a hook that may or may not be present. SEE ALSO -------- linkgit:githooks[5] GIT --- Part of the linkgit:git[1] suite