Skip to main content

Signing tags

You can sign tags locally using GPG, SSH, or S/MIME.

注意:如果 Git 客户端配置为默认对提交进行签名,GitHub Desktop 仅支持提交签名。

  1. To sign a tag, add -s to your git tag command.
    $ git tag -s mytag
    # Creates a signed tag
  2. Verify your signed tag by running git tag -v [tag-name].
    $ git tag -v mytag
    # Verifies the signed tag

Further reading