2021-05-11 22:16:05 +01:00
|
|
|
# git verify-commit
|
|
|
|
|
|
|
|
> Check for GPG verification of commits.
|
2021-05-12 13:31:57 +01:00
|
|
|
> If no commits are verified, nothing will be printed, regardless of options specified.
|
2021-05-11 22:19:05 +01:00
|
|
|
> More information: <https://git-scm.com/docs/git-verify-commit>.
|
2021-05-11 22:16:05 +01:00
|
|
|
|
2021-05-12 00:17:56 +01:00
|
|
|
- Check commits for a GPG signature:
|
2021-05-11 22:16:05 +01:00
|
|
|
|
2021-05-14 23:06:15 +01:00
|
|
|
`git verify-commit {{commit_hash1 optional_commit_hash2 ...}}`
|
2021-05-11 22:16:05 +01:00
|
|
|
|
2021-05-12 11:56:27 +01:00
|
|
|
- Check commits for a GPG signature and show details of each commit:
|
2021-05-11 22:16:05 +01:00
|
|
|
|
2021-05-14 23:06:15 +01:00
|
|
|
`git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --verbose`
|
2021-05-11 22:16:05 +01:00
|
|
|
|
2021-05-14 12:11:15 +01:00
|
|
|
- Check commits for a GPG signature and print the raw details:
|
2021-05-11 22:16:05 +01:00
|
|
|
|
2021-05-14 23:06:15 +01:00
|
|
|
`git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --raw`
|