git-verify-commit — Check the GPG signature of commits
| Use Case | Command | Description |
|---|---|---|
| 🔏 Verify a commit | git verify-commit <commit> | Validate the GPG signature on a single commit |
| 📦 Verify multiple commits | git verify-commit <commit1> <commit2> | Check GPG signatures on several commits at once |
| 🔍 Raw GPG output | git verify-commit --raw <commit> | Print raw gpg status to stderr for scripting |
| 📄 Verbose inspection | git verify-commit -v <commit> | Show commit contents before validating the signature |
git verify-commit <commit>...
Validates the GPG signature created by git commit -S.
Print the raw gpg status output to standard error instead of the normal human-readable output.
Print the contents of the commit object before validating it.
SHA-1 identifiers of Git commit objects.
Part of the git(1) suite
Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 20:59 @2600:1f28:365:80b0:b91e:58eb:6587:15c8
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format