W3cubDocs

/Git

git-verify-commit

Name

git-verify-commit - Check the GPG signature of commits

Synopsis

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.

© 2012–2023 Scott Chacon and others
Licensed under the MIT License.
https://git-scm.com/docs/git-verify-commit