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.
To reference a commit, simply write its SHA-hash, and it'll automatically get turned into a link.
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.
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).
As you can see on the Github Help Pages about possible references, there is no auto-linking for milestones as of today.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With