5.8 KiB
title, shortTitle, intro, redirect_from, versions, topics
| title | shortTitle | intro | redirect_from | versions | topics | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enabling GitHub.com repository search from your private enterprise environment | Search GitHub.com from enterprise | You can connect your personal accounts on {% data variables.product.prodname_dotcom_the_website %} and your private {% data variables.product.prodname_enterprise %} environment to search for content in certain {% data variables.product.prodname_dotcom_the_website %} repositories{% ifversion fpt or ghec %} from your private environment{% else %} from {% data variables.product.product_name %}{% endif %}. |
|
|
|
About search for {% data variables.product.prodname_dotcom_the_website %} repositories from {% ifversion fpt or ghec %}your private enterprise environment{% else %}{% data variables.product.product_name %}{% endif %}
You can search for designated private repositories on {% data variables.product.prodname_ghe_cloud %} from {% ifversion fpt or ghec %}your private {% data variables.product.prodname_enterprise %} environment{% else %}{% data variables.product.product_location %}{% ifversion ghae %} on {% data variables.product.prodname_ghe_managed %}{% endif %}{% endif %}. {% ifversion fpt or ghec %}For example, if you use {% data variables.product.prodname_ghe_server %}, you can search for private repositories from your enterprise from {% data variables.product.prodname_ghe_cloud %} in the web interface for {% data variables.product.prodname_ghe_server %}.{% endif %}
Prerequisites
-
An enterprise owner for {% ifversion fpt or ghec %}your private {% data variables.product.prodname_enterprise %} environment{% else %}{% data variables.product.product_name %}{% endif %} must enable {% data variables.product.prodname_github_connect %} and {% data variables.product.prodname_unified_search %} for private repositories. For more information, see the following.{% ifversion fpt or ghes or ghec %} {% ifversion fpt %}
- "Enabling {% data variables.product.prodname_unified_search %} for your enterprise" in the {% data variables.product.prodname_ghe_server %} documentation{% endif %}{% ifversion ghec %}
- "Enabling {% data variables.product.prodname_unified_search %} for your enterprise" in the {% data variables.product.prodname_ghe_server %} documentation{% endif %}
- "Enabling {% data variables.product.prodname_unified_search %} for your enterprise"{% ifversion fpt or ghec %} in the {% data variables.product.prodname_ghe_managed %} documentation{% endif %} {% endif %}
-
You must already have access to the private repositories and connect your account {% ifversion fpt or ghec %}in your private {% data variables.product.prodname_enterprise %} environment{% else %}on {% data variables.product.product_name %}{% endif %} with your account on {% data variables.product.prodname_dotcom_the_website %}. For more information about the repositories you can search, see "About searching on GitHub."
Enabling GitHub.com repository search from {% ifversion fpt or ghec %}your private {% data variables.product.prodname_enterprise %} environment{% else %}{% data variables.product.product_name %}{% endif %}
{% ifversion fpt or ghec %}
For more information, see the following.
| Your enterprise environment | More information |
|---|---|
| {% data variables.product.prodname_ghe_server %} | "Enabling {% data variables.product.prodname_dotcom_the_website %} repository search from your private enterprise environment" |
| {% data variables.product.prodname_ghe_managed %} | "Enabling {% data variables.product.prodname_dotcom_the_website %} repository search from your private enterprise environment" |
{% elsif ghes or ghae %}
- Sign into {% data variables.product.product_name %} and {% data variables.product.prodname_dotcom_the_website %}.
- On {% data variables.product.product_name %}, in the upper-right corner of any page, click your profile photo, then click Settings.
{% data reusables.github-connect.github-connect-tab-user-settings %}
{% data reusables.github-connect.connect-dotcom-and-enterprise %}
{% data reusables.github-connect.connect-dotcom-and-enterprise %}
{% endif %}