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.
-
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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.