Git

git verify-commit

git-verify-commit

名称

git-verify-commit - 检查提交的 GPG 签名

概要

git verify-commit <commit>…​

描述

验证由git commit -S创建的 GPG 签名。

选项

--raw

将原始 gpg 状态输出打印为标准错误,而不是正常的人类可读输出。

-v --verbose

在验证之前打印提交对象的内容。

<commit>…​

Git 提交对象的 SHA-1标识符。