Files
tldr/pages/common/git-verify-commit.md
CleanMachine1 67c95952cf Update pages/common/git-verify-commit.md
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-05-16 14:09:45 +01:00

602 B

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_hash}} {{optional_commit_hash(s')}}

  • Check commits for a GPG signature and show details of each commit:

git verify-commit {{commit_hash}} {{optional_commit_hash(s')}} --verbose

  • Check commits for a GPG signature and print the raw details:

git verify-commit {{commit_hash}} {{optional_commit_hash(s')}} --raw