2021-05-11 22:16:05 +01:00
|
|
|
# git verify-commit
|
|
|
|
|
|
|
|
> Check for GPG verification of commits.
|
|
|
|
> If GPG verification isn't present, nothing will be returned, even if extra options are chosen.
|
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
|
|
|
|
|
|
|
`git verify-commit {{commit SHA hash}}`
|
|
|
|
|
|
|
|
- Check git commits for a GPG signature and show details of specified commit:
|
|
|
|
|
2021-05-11 23:17:13 +01:00
|
|
|
`git verify-commit {{commit SHA hash}} --verbose`
|
2021-05-11 22:16:05 +01:00
|
|
|
|
2021-05-11 23:29:27 +01:00
|
|
|
- Check commits for a GPG signature and give RAW details:
|
2021-05-11 22:16:05 +01:00
|
|
|
|
|
|
|
`git verify-commit {{commit SHA hash}} --raw`
|