codecamp

GitHub 对标记签名

您可以使用 GPG 或 S/MIME 在本地为标记签名。

注: GitHub Desktop 不支持提交签名。

  1. 要对标记签名,请将 -s 添加到您的 git tag 命令。

   $ git tag -s mytag
   # Creates a signed tag

  1. 通过运行 git tag -v [tag-name] 验证您签名的标记。

   $ git tag -v mytag
   # Verifies the signed tag

延伸阅读

GitHub 对提交签名
GitHub 检查提交和标记签名验证状态
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定