← 返回命令列表

Linux command

git-verify-tag 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Verify signed tag

git verify-tag [tag]

Verify multiple tags

git verify-tag [tag1] [tag2]

Show raw signature

git verify-tag --raw [tag]

Verbose output

git verify-tag -v [tag]

说明

git verify-tag checks GPG signatures of tags. It verifies that tags were signed with valid GPG keys, confirming the authenticity of tagged releases. This is commonly used to verify the integrity of release tags in security-sensitive workflows.

参数

-v, --verbose
Print tag contents.
--raw
Print raw signature.
--format _format_
Format output.

FAQ

What is the git-verify-tag command used for?

git verify-tag checks GPG signatures of tags. It verifies that tags were signed with valid GPG keys, confirming the authenticity of tagged releases. This is commonly used to verify the integrity of release tags in security-sensitive workflows.

How do I run a basic git-verify-tag example?

Run `git verify-tag [tag]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v, --verbose do in git-verify-tag?

Print tag contents.