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

Referenced By

git(1).

06/16/2025 Git 2.50.1 Git Manual