Is it possible to reference a tag in an Issue Comment? Like you can reference issues and commits, I want to reference a tag.

The Writer implementation is available since tag v0.0.1.


1 Answer 1


Yes, by referring to the commit SHA that added that tag.

Look up the tag via the Branches/Tags dropdown list or in the Releases (since on GitHub releases are tied to tags).

When you load up the tag, you can grab the commit SHA from the top of the file list, where it says,

latest commit XXX {clipboard-icon}

And then reference it as you normally would any other SHA.

  • 4
    Tags can be changed to point to another commit, so there is a scenario where you might run into issues with this approach. Another alternative would be to link to the releases, which has a url for each tag. Note: Changing tags on a repo is not a good practice, so using the commit is a reasonable approach. It only becomes an issue if there's a need to rewrite tag history in the repo.
    – forforf
    Commented May 21, 2015 at 14:25
  • 1
    This is not an ideal solution, GitHub. Thanks for sharing, at least I know it's not possible.
    – Engineer
    Commented Oct 5, 2019 at 11:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.