1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-05 15:16:34 +02:00
git/Documentation/git-verify-commit.txt
Ævar Arnfjörð Bjarmason 8c9e292dc0 doc txt & -h consistency: add missing options and labels
Fix various issues of SYNOPSIS and -h output syntax where:

 * Options such as --force were missing entirely
 * ...or the short option, such as -f

 * We said "opts" or "options", but could instead enumerate
   the (small) set of supported options

 * Options that were missing entirely (ls-remote's --sort=<key>)

   As we can specify "--sort" multiple times (it's backed by a
   string-list" it should really be "[(--sort=<key>)...]", which is
   what "git for-each-ref" lists it as, but let's leave that issue for
   a subsequent cleanup, and stop at making these consistent. Other
   "ref-filter.h" users share the same issue, e.g. "git-branch.txt".

 * For "verify-tag" and "verify-commit" we were missing the "--raw"
   option.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-10-13 09:32:56 -07:00

33 lines
575 B
Plaintext

git-verify-commit(1)
====================
NAME
----
git-verify-commit - Check the GPG signature of commits
SYNOPSIS
--------
[verse]
'git verify-commit' [-v | --verbose] [--raw] <commit>...
DESCRIPTION
-----------
Validates the GPG signature created by 'git commit -S'.
OPTIONS
-------
--raw::
Print the raw gpg status output to standard error instead of the normal
human-readable output.
-v::
--verbose::
Print the contents of the commit object before validating it.
<commit>...::
SHA-1 identifiers of Git commit objects.
GIT
---
Part of the linkgit:git[1] suite