6 git-hook - run git hooks
11 'git hook' run [--to-stdin=<path>] [--ignore-missing] <hook-name> [-- <hook-args>]
16 This command is an interface to git hooks (see linkgit:githooks[5]).
17 Currently it only provides a convenience wrapper for running hooks for
18 use by git itself. In the future it might gain other functionality.
25 Run the `<hook-name>` hook. Any positional arguments to the
26 hook should be passed after an optional "--" (or
27 "--end-of-options"). See "OPTIONS" below for the arguments
34 For "run"; Specify a file which will be streamed into the
35 hook's stdin. The hook will receive the entire file from
39 Ignore any missing hook by quietly returning zero. Used for
40 tools that want to do a blind one-shot run of a hook that may
41 or may not be present.
49 Part of the linkgit:git[1] suite