man > GIT-VERIFY-COMMIT(1)

⚡ TLDR: GIT-VERIFY-COMMIT (tldr-pages)

Check for GPG verification of commits.

  • 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 ...}} {{-v|--verbose}}
  • Check commits for a GPG signature and print the raw details
    git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --raw
GIT-VERIFY-COMMIT(1)                         Git Manual                         GIT-VERIFY-COMMIT(1)

NAME
       git-verify-commit - Check the GPG signature of commits

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

Git 2.43.0                                   07/02/2025                         GIT-VERIFY-COMMIT(1)

Generated by phpman v4.12.9 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-10-20 02:44 @216.73.217.130
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!