Associating Commits with GitHub Issues

With dbForge Source Control, you can link your commits to GitHub issues and close them with your commits.

  1. Open Source Control Manager.
  2. In the Local changes section of the document, select the required uncommitted database objects and/or data.

  3. Put the issue number with the # character in the Comment text box. For example, #111.

To close a GitHub issue

  1. Open Source Control Manager.
  2. In the Local changes section of the document, select the required uncommitted database objects and/or data.

  3. 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

You can use any of the following keywords:

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

Example

Objective

There is an open GitHub issue #2 with the request to create a test table and close the issue upon the table is created.

GitHub Issue

Solution

To complete the task:

  1. Create the requested table.

  2. Open Source Control Manager.

  3. Select the created table in the Local changes list of uncommitted objects.

  4. Put Closes #2 in the Comment text box.

  5. Click Commit.

Closing Issue

Result

The Git issue #2 has been successfully closed.

Issue Closed Result