Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2024-03-07. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Signing tags

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

Note: GitHub Desktop only supports commit signing if your Git client is configured to sign commits by default.

  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