Link a commit to a GitHub issue

Last modified: October 1, 2024

With dbForge Studio, you can link your commits to GitHub issues and close GitHub issues with your commits.

To link a commit to a GitHub Issue, put the issue number with the # character in the Comment text box - for example, #111.

To close a GitHub issue, put a keyword and the issue number with the # character in the Comment text box - for example, Close #111.

Keywords to close a GitHub Issue

To close a GitHub issue, you can use any of the following keywords:

  • Close
  • Closes
  • Closed
  • Fix
  • Fixes
  • Fixed
  • Resolve
  • Resolves
  • Resolved

Example

Suppose we have an open issue #1 with a request to create a test table and close the issue afterward:

GitHub Issue

When the table is created, we need to open Source Control Manager and put Closes #1 before committing the created table.

Closing Issue

As a result, the issue #1 has been successfully closed:

Issue Closed Result

Download dbForge Studio for SQL Server and try it absolutely free for 30 days!