git-verify-commit

Check for GPG verification of commits.

TLDR

Check commits for a GPG signature

$ git verify-commit [commit_hash1 optional_commit_hash2 ...]
copy


Check commits for a GPG signature and show details of each commit
$ git verify-commit [commit_hash1 optional_commit_hash2 ...] --verbose
copy


Check commits for a GPG signature and print the raw details
$ git verify-commit [commit_hash1 optional_commit_hash2 ...] --raw
copy

SYNOPSIS

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 git(1) suite

Copied to clipboard