mirror of
https://github.com/git/git.git
synced 2024-11-25 02:44:48 +08:00
ff3c8c8f12
Callers of verify-tag may want to cross-check the tagname from refs/tags with the tagname from the tag object header upon GPG verification. This is to avoid tag refs that point to an incorrect object. Add a --format parameter to git verify-tag to print the formatted tag object header in addition to or instead of the --verbose or --raw GPG verification output. Signed-off-by: Santiago Torres <santiago@nyu.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
33 lines
537 B
Plaintext
33 lines
537 B
Plaintext
git-verify-tag(1)
|
|
=================
|
|
|
|
NAME
|
|
----
|
|
git-verify-tag - Check the GPG signature of tags
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'git verify-tag' [--format=<format>] <tag>...
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Validates the gpg signature created by 'git tag'.
|
|
|
|
OPTIONS
|
|
-------
|
|
--raw::
|
|
Print the raw gpg status output to standard error instead of the normal
|
|
human-readable output.
|
|
|
|
-v::
|
|
--verbose::
|
|
Print the contents of the tag object before validating it.
|
|
|
|
<tag>...::
|
|
SHA-1 identifiers of Git tag objects.
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[1] suite
|