Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linked reference to a Github milestone in a tag or commit message

I use to add issue numbers in Git commits, to let Github make links from commits to issues and from issues to commits.

Is it also possible to do the same in tag messages towards milestones?

In my project, each release has a tag, and each release consists of a number of issues that are grouped in a milestone. Therefore a linked reference from the tag message to the milestone would be very useful.

like image 608
Beat Sprenger Avatar asked Jul 29 '15 08:07

Beat Sprenger


People also ask

How do I reference a commit in GitHub?

To reference a commit, simply write its SHA-hash, and it'll automatically get turned into a link.

How do I add a link to a commit message?

How to Link Commits to GitHub Issues. If you use the correct format in your commit message, your commit will be automatically linked to a GitHub Issue or Pull Request. To do this, put a # followed the Issue or Pull Request number. This will automatically create a link in the commit message.

How do you reference an issue in a commit?

You just need to include #xxx in your commit message to reference an issue without closing it. With the new GitHub issues 2.0, you can use these synonyms to reference an issue and close it (in your commit message).


1 Answers

As you can see on the Github Help Pages about possible references, there is no auto-linking for milestones as of today.

like image 120
Maurice Schleußinger Avatar answered Sep 27 '22 23:09

Maurice Schleußinger