Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from programmers.stackexchange.com Nov 29 '13 at 20:24

This question came from our site for professional programmers interested in conceptual questions about software development.

    
All github markdown is at help.github.com/articles/github-flavored-markdown – user45634 Nov 29 '13 at 17:15

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.

share|improve this answer
    
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 May 21 '15 at 14:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.