Note: GitHub Connect for GitHub AE is currently in beta and subject to change.
When you enable unified search, users can view search results from content on GitHub.com when searching from 您的企业 on GitHub AE.
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 您的企业 from GitHub.com, even if they have access to both environments.
After you enable unified search for 您的企业, before individual users can see search results from private repositories on GitHub.com in 您的企业, each user must also connect their user account on GitHub AE 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 统一搜索, you must enable GitHub Connect. For more information, see "Managing GitHub Connect."
- Sign into 您的企业 and GitHub.com.
- 在 GitHub AE 的右上角，单击您的个人资料照片，然后单击 Enterprise settings（Enterprise 设置）。
- 在企业帐户边栏中，单击 GitHub Connect。
- Under "Users can search GitHub.com", use the drop-down menu and click Enabled.
- Optionally, under "Users can search private repositories on GitHub.com", use the drop-down menu and click Enabled.