diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2021-10-29 15:45:45 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-29 20:22:56 +0200 |
commit | fa21296b58e5b2c865a3974e5f03b65f4026c510 (patch) | |
tree | 5a7bd641c9192cec6311a242012060a807f87c6f /Documentation/git-commit.txt | |
parent | The fifteenth batch (diff) | |
download | git-fa21296b58e5b2c865a3974e5f03b65f4026c510.tar.xz git-fa21296b58e5b2c865a3974e5f03b65f4026c510.zip |
Document positive variant of commit and merge option "--no-verify"
This documents "--verify" option of the commands. It can be used to re-enable
the hooks disabled by an earlier "--no-verify" in command-line.
Signed-off-by: Alexander Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r-- | Documentation/git-commit.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 95fec5f069..6c60bf98f9 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -212,8 +212,9 @@ include::signoff-option.txt[] each trailer would appear, and other details. -n:: ---no-verify:: - This option bypasses the pre-commit and commit-msg hooks. +--[no-]verify:: + By default, the pre-commit and commit-msg hooks are run. + When any of `--no-verify` or `-n` is given, these are bypassed. See also linkgit:githooks[5]. --allow-empty:: |