注: GitHub Desktop 不支持提交签名。
- 要对标记签名,请将
-s添加到您的git tag命令。$ git tag -s mytag # Creates a signed tag - 通过运行
git tag -v [tag-name]验证您签名的标记。$ git tag -v mytag # Verifies the signed tag
您可以使用 GPG 或 S/MIME 在本地对标记进行签名。
注: GitHub Desktop 不支持提交签名。
-s 添加到您的 git tag 命令。$ git tag -s mytag
# Creates a signed taggit tag -v [tag-name] 验证您签名的标记。$ git tag -v mytag
# Verifies the signed tag