After enabling GitHub Connect, you can allow search of GitHub.com from your GitHub Enterprise Server instance.

After you've enabled GitHub Connect, users can view search results from public and private content on GitHub.com when searching from your GitHub Enterprise Server instance.

Users will not be able to search your GitHub Enterprise Server instance from GitHub.com, even if they have access to both environments. Users can only search private repositories you've enabled Unified Search for and that they have access to in the connected GitHub Enterprise Cloud organization. For more information, see "About searching on GitHub" and "Enabling private GitHub.com repository search in your GitHub Enterprise account."

Searching via the REST and GraphQL APIs does not include GitHub.com search results. Advanced search and searching for wikis in GitHub.com are not supported.

  1. Sign in to your GitHub Enterprise Server instance and GitHub.com.

  2. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  3. In the left sidebar, click Business. Business tab in the Site admin settings

  4. Under your business account's name, click Settings. Settings tab on the business account profile page

  5. In the left sidebar, click GitHub Connect. GitHub Connect tab in the business account settings sidebar

  6. Under "Users can search GitHub.com", use the drop-down menu and click Enabled. Enable search option in the search GitHub.com drop-down menu

  7. Optionally, under "Users can search private repositories on GitHub.com", use the drop-down menu and click Enabled. Enable private repositories search option in the search GitHub.com drop-down menu

  8. If you enabled search for private repositories on your GitHub Enterprise Cloud organization, review the updated permissions and select the private repositories you'd like included in Unified Search, then click Accept new permissions. Permissions update and option to select all or specific private repositories for Unified Search

Further reading