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.
To link existing commits to a user account, you may need to rebuild the user's contributions data.
As a site admin, sign in to your GitHub Enterprise instance at
Open the user's profile page in your browser.
In the upper-right corner of any page, click .
On the left side of the page, click Admin.
Under Contributions data, click Rebuild.
GitHub Enterprise will now start background jobs to re-link commits with that user's account.