git verify-commit

Check for GPG verification of commits. If no commits are verified, nothing will be printed, regardless of options specified. More information: https://git-scm.com/docs/git-verify-commit.

git verify-commit {{commit_hash1 optional_commit_hash2 ...}}

git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --verbose

git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --raw