2 Home
Matteo Cypriani bu sayfayı düzenledi 3 yıl önce

Dev doc

Tagging issues in commit messages

When a commit is related to an issue, a tag can be added at the end of the commit message to reference it:

  • Issue: #N if the commit addresses part of the issue number N, or is related in some way to it.

  • Fixes: #N or Closes: #N if the commit fixes the issue.

Note that Gogs does not understand (yet?) the syntax of the tags, so the issue will still have to be closed by hand (but it will detect that the issue is referenced by the commit and add a back reference on the issue’s page).