1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/git-verify-commit.md
CleanMachine1 94f7e5acb7 Update pages/common/git-verify-commit.md
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
2021-05-16 14:09:45 +01:00

17 lines
536 B
Markdown

# 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.
> More information: <https://git-scm.com/docs/git-verify-commit>.
- Check commits for a GPG signature:
`git verify-commit {{commit SHA hash}}`
- Check commits for a GPG signature and show details of specified commit:
`git verify-commit {{commit SHA hash}} --verbose`
- Check commits for a GPG signature and give RAW details:
`git verify-commit {{commit SHA hash}} --raw`