Skip to main content

Enabling unified search for your enterprise

You can allow users to include repositories on GitHub.com in their search results when searching from your GitHub Enterprise Server instance.

Who can use this feature

Enterprise owners can enable unified search between GitHub Enterprise Server and GitHub.com.

When you enable unified search, users can view search results from content on GitHub.com when searching from your GitHub Enterprise Server instance.

You can choose to allow search results for public repositories on GitHub.com, and you can separately choose to allow search results for private repositories on GitHub Enterprise Cloud. If you enable unified search for private repositories, users can only search private repositories that they have access to and that are owned by the connected organization or enterprise account. For more information, see "About searching on GitHub."

Users will never be able to search your GitHub Enterprise Server instance from GitHub.com, even if they have access to both environments.

After you enable unified search for your GitHub Enterprise Server instance, before individual users can see search results from private repositories on GitHub.com in your GitHub Enterprise Server instance, each user must also connect their user account on GitHub Enterprise Server with a user account on GitHub.com. For more information, see "Enabling GitHub.com repository search in your private 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.

Before you can enable unified search, you must enable GitHub Connect. For more information, see "Managing GitHub Connect."

  1. Entre no GitHub Enterprise Server e no GitHub.com.

  2. Em uma conta administrativa no GitHub Enterprise Server, no canto superior direito de qualquer página, clique em .

    Captura de tela do ícone de foguete para acesso às configurações de administração do site

  3. Se você ainda não estiver na página "Administração do site", no canto superior esquerdo, clique em Administração do site.

    Captura de tela do link "Administração do site"

  4. Na barra lateral esquerda, clique em Visão geral do Enterprise . Guia Visão geral do Enterprise em Configurações de administração do site

  5. Na barra lateral da conta corporativa, clique em GitHub Connect . Guia do GitHub Connect na barra lateral da conta corporativa

  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