Whenever a commit is pushed to GitHub Enterprise, it is linked to a user account if they are both associated with the same email address. However, existing commits are not retroactively linked when a user registers a new email address or creates a new account.
- From an administrative account on GitHub Enterprise Server, in the upper-right corner of any page, click .
- If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.
- Under "Search users, organizations, teams, repositories, gists, and applications", type the name of the user in the text field.
- To the right of text field, click Search.
- If an exact account name match isn't found, under "Search results – Accounts", in the "Fuzzy matches" section, click the name of the user you want to manage.
- Review the user details in the site admin page to confirm you have identified the correct user.
- In the upper-right corner of the page, click Admin.
- To the right of "Rebuild commit contributions data", click Rebuild.
You should see the "Rebuild commit contributions jobs enqueued" banner at the top of the screen indicating that GitHub Enterprise will now start background jobs to re-link commits with that user's account.