Merge branch 'master' of github.com:alshopov/git-po
[alt-git.git] / Documentation / git-hook.txt
blob77c3a8ad909def201ea48034fe88eb88cf2a3a97
1 git-hook(1)
2 ===========
4 NAME
5 ----
6 git-hook - Run git hooks
8 SYNOPSIS
9 --------
10 [verse]
11 'git hook' run [--ignore-missing] <hook-name> [-- <hook-args>]
13 DESCRIPTION
14 -----------
16 A command interface to running git hooks (see linkgit:githooks[5]),
17 for use by other scripted git commands.
19 SUBCOMMANDS
20 -----------
22 run::
23         Run the `<hook-name>` hook. See linkgit:githooks[5] for
24         supported hook names.
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).
31 OPTIONS
32 -------
34 --ignore-missing::
35         Ignore any missing hook by quietly returning zero. Used for
36         tools that want to do a blind one-shot run of a hook that may
37         or may not be present.
39 SEE ALSO
40 --------
41 linkgit:githooks[5]
43 GIT
44 ---
45 Part of the linkgit:git[1] suite