Open a Jira issue then go to the Git Commits tab. In this tab, you will see commits, files changed, links to external repository, commit author and more.
In the above example, the issue key GIT-4322 text is inserted into a git commit message to link the commit to this issue.
The git commit will get associated with the Jira issue if the commit message includes the exact issue ID. The Git Integration for Jira add-on will automatically index new commits and associate the referenced issue. For better readability, place the issue key text at the start of the commit message.
Git administrator »
If you want to enforce the commit with a hook, please install this Git commit hook script – Commit-msg Hook.
More related articles on integration basics
Connecting to a git host account via Add new integration panel
Connecting to a single git repository (HTTPS | SSH)
Link git commits to Jira issues (Basics) (this page)