git-verify-commit - Man Page
Check the GPG signature of commits
Examples (TL;DR)
- Check commits for a GPG signature:
git verify-commit commit_hash1 optional_commit_hash2 ...
- Check commits for a GPG signature and show details of each commit:
git verify-commit commit_hash1 optional_commit_hash2 ... --verbose
- Check commits for a GPG signature and print the raw details:
git verify-commit commit_hash1 optional_commit_hash2 ... --raw
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.
Git
Part of the git(1) suite
Referenced By
11/25/2024 Git 2.47.1 Git Manual