# git-verify-commit - Check the GPG signature of commits - man(1) - [phpMan]

> **TLDR:** 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`

*Source: tldr-pages*

---

[_GIT-VERIFY-COMMIT_(1)](https://www.chedong.com/phpMan.php/man/GIT-VERIFY-COMMIT/1/markdown)                         Git Manual                         [_GIT-VERIFY-COMMIT_(1)](https://www.chedong.com/phpMan.php/man/GIT-VERIFY-COMMIT/1/markdown)

## 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)](https://www.chedong.com/phpMan.php/man/git/1/markdown) suite

Git 2.43.0                                   07/02/2025                         [_GIT-VERIFY-COMMIT_(1)](https://www.chedong.com/phpMan.php/man/GIT-VERIFY-COMMIT/1/markdown)
