mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
aeff29dd4d
verify-commit by default displays human-readable output on standard error. However, it can also be useful to get access to the raw gpg status information, which is machine-readable, allowing automated implementation of signing policy. Add a --raw option to make verify-commit produce the gpg status information on standard error instead of the human-readable format. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
33 lines
550 B
Plaintext
33 lines
550 B
Plaintext
git-verify-commit(1)
|
|
====================
|
|
|
|
NAME
|
|
----
|
|
git-verify-commit - Check the GPG signature of commits
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'git verify-commit' <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
|