git-verify-commit - Man Page

Check the GPG signature of commits

Examples (TL;DR)

Synopsis

git verify-commit [-v | --verbose] [--raw] <commit>​...

Description

Validates the GPG signature created by git commit -S on the commit objects given on the command line​.

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​.

Git

Part of the git(1) suite

Info

09/28/2026 Git 2.56.0 Git Manual