Skip to main content

This version of GitHub Enterprise Server was discontinued on 2023-09-25. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Rebuilding contributions data

You may need to rebuild contributions data to link existing commits to a user account.

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.

  1. From an administrative account on GitHub Enterprise Server, in the upper-right corner of any page, click .
  2. If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.
  3. Under "Search users, organizations, teams, repositories, gists, and applications", type the name of the user in the text field.
  4. To the right of text field, click Search. Screenshot of the "Search" page of the "Site admin" settings. The button to search users, labeled "Search," is highlighted with an orange outline.
    • 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. Screenshot of search results in the "Site admin" settings. In the "Fuzzy matches" section, an example user name is highlighted with an orange outline.
  5. Review the user details in the site admin page to confirm you have identified the correct user. Screenshot of the Site admin account overview page.
  6. In the upper-right corner of the page, click Admin. Screenshot of the header of the "Site admin" page for a user or repository. The "Admin" tab is highlighted with an orange outline.
  7. 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.