Monday 19 January 2015

Connecting Issues in GitHub to Git via Commit Comments

When you enter "Fixes #45" into a commit message, issue #45 is closed once that commit is merged into your default branch. If the bug isn't fixed in your default branch, the issue remains open. Once the commit with the fix is merged into your default branch, the issue is automatically closed.

Very nice!

I have similar functionality at work, using Trac (or Confluence) and Subversion, so it seems to become the norm more and more.

But for me, who grew up with separate un-integrated tools, it's still very impressive.

References

GitHub - Closing issues via commit messages
https://help.github.com/articles/closing-issues-via-commit-messages

No comments:

Post a Comment