A git user can identify himself on his local computer using the following commands:
$ git config --global user.name "John Doe" $ git config --global user.email [email protected]
Or, for specific repository:
$ git config user.name "John Doe" $ git config user.email [email protected]
Then every commit is supported by the configured user information.
Hosting services (like GitHub and BitBucket, for example) try to match these data in commits with a particular account:
If the email is unknown, it just displays the name from the commit.
If there is no Jira user associated with the email, the Git Integration for Jira app will use the author’s name from the commit and displays this name without any associated links.
If an email is configured in the local repository, the account is detected and will be displayed.
The Git Integration for Jira app will use the email from a commit and will search for a Jira user using this email. If the Jira user is found, the associated link to his Jira profile is displayed with the accompanying Jira avatar beside the name.