Home

Link Git Commit to Github Issues

Wednesday, August 23rd, 2023

0 views

To close the issue using Conventional Commits, I used the "close" keyword in your commit message. Here's how you can do it:

After making the desired changes to your commit message, push the commit to your GitHub repository. GitHub will automatically recognize the reference in the commit message and link the commit to issue #3

By the way, You can use any of these keywords to close an issue via commit message:

  • ArrowAn icon representing an arrow
    fix #xxx
  • ArrowAn icon representing an arrow
    fixes #xxx
  • ArrowAn icon representing an arrow
    fixed #xxx
  • ArrowAn icon representing an arrow
    close #xxx
  • ArrowAn icon representing an arrow
    closes #xxx
  • ArrowAn icon representing an arrow
    closed #xxx
  • ArrowAn icon representing an arrow
    resolve #xxx
  • ArrowAn icon representing an arrow
    resolves #xxx
  • ArrowAn icon representing an arrow
    resolved #xxx