6 git-hook - Run git hooks
11 'git hook' run [--ignore-missing] [--to-stdin=<path>] <hook-name> [-- <hook-args>]
16 A command interface for running git hooks (see linkgit:githooks[5]),
17 for use by other scripted git commands.
23 Run the `<hook-name>` hook. See linkgit:githooks[5] for
27 Any positional arguments to the hook should be passed after a
28 mandatory `--` (or `--end-of-options`, see linkgit:gitcli[7]). See
29 linkgit:githooks[5] for arguments hooks might expect (if any).
35 For "run"; specify a file which will be streamed into the
36 hook's stdin. The hook will receive the entire file from
40 Ignore any missing hook by quietly returning zero. Used for
41 tools that want to do a blind one-shot run of a hook that may
42 or may not be present.
50 Part of the linkgit:git[1] suite