我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们
文章版本: Enterprise Server 2.20

Enabling unified search between GitHub Enterprise Server and GitHub.com

After enabling GitHub Connect, you can allow search of GitHub.com from 您的 GitHub Enterprise Server 实例.

Site administrators for GitHub Enterprise Server who are also owners of the connected GitHub Enterprise Cloud organization or enterprise account can enable unified search between GitHub Enterprise Server and GitHub.com.

When you enable unified search, users can view search results from public and private content on GitHub.com when searching from 您的 GitHub Enterprise Server 实例.

Users will not be able to search 您的 GitHub Enterprise Server 实例 from GitHub.com, even if they have access to both environments. Users can only search private repositories you've enabled 统一搜索 for and that they have access to in the connected GitHub Enterprise Cloud organizations. For more information, see "About searching on GitHub" and "Enabling private GitHub.com repository search in your GitHub Enterprise Server 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. 登录到 您的 GitHub Enterprise Server 实例 和 GitHub.com。
  2. 在任何页面的右上角,单击
    用于访问站点管理员设置的火箭图标1. 在左侧边栏中,单击 Enterprise(企业)
    站点管理设置中的 Enterprise(企业)选项卡
  3. 在企业帐户侧边栏中,单击 Settings(设置)
    企业帐户侧边栏中的“设置”选项卡
  4. 在左侧边栏中,单击 GitHub Connect
    企业帐户设置侧边栏中的“GitHub 连接”选项卡
  5. 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
  6. 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

Further reading

问问别人

找不到要找的内容?

联系我们