This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-05-23. 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. For help with the upgrade, contact GitHub Enterprise support.

Article version: Enterprise Server 2.17

Enabling GitHub.com repository search in GitHub Enterprise Server

You can connect your personal accounts for GitHub.com and GitHub Enterprise Server to search for content in certain private GitHub.com repositories from GitHub Enterprise Server.

If you use GitHub Enterprise Server and GitHub.com and your GitHub Enterprise Server site administrator has enabled GitHub Connect and unified search for private repositories, then you can search for designated private repositories in the connected organization.

To see private repositories in your search results, you must already have access to these repositories and connect your GitHub Enterprise Server and GitHub.com accounts. For more information about the repositories you can search in, see "Searching across GitHub Enterprise Server and GitHub.com simultaneously."

  1. Sign in to your GitHub Enterprise Server instance and GitHub.com.
  2. On your GitHub Enterprise Server instance, in the upper-right corner of any page, click your profile photo, then click Settings.
    Settings icon in the user bar
  3. In the left sidebar, click GitHub Connect.
    GitHub Connect tab in the user settings sidebar
  4. Click Connect to GitHub.com.
    Connect to GitHub.com from GitHub Enterprise Server settings
  5. Review the resources that GitHub Enterprise Server will access from your GitHub.com account, then click Authorize.
    Authorize connection between GitHub Enterprise Server and GitHub.com

Ask a human

Can't find what you're looking for?

Contact us