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

Enabling GitHub.com repository search in GitHub Enterprise Server

You can connect your personal accounts for GitHub.com and GitHub Enterprise Server to search for content in certain private GitHub.com repositories from GitHub Enterprise Server.

If you use GitHub Enterprise Server and GitHub.com and your GitHub Enterprise Server site administrator has enabled GitHub Connect and 统一搜索 for private repositories, then you can search for designated private repositories in the connected organization.

To see private repositories in your search results, you must already have access to these repositories and connect your GitHub Enterprise Server and GitHub.com accounts. For more information about the repositories you can search in, see "Searching across GitHub Enterprise Server and GitHub.com simultaneously."

  1. 登录到 您的 GitHub Enterprise Server 实例 和 GitHub.com。

  2. 在 您的 GitHub Enterprise Server 实例 上,在任意页面的右上角,单击您的个人资料照片,然后单击 Settings(设置)

    用户栏中的 Settings(设置)图标

  3. 在左侧边栏中,单击 GitHub Connect

    用户设置侧边栏中的 GitHub Connect 选项卡

  4. 单击连接到 GitHub.com

    GitHub Enterprise Server 设置中的连接到 GitHub.com

  5. 审查 GitHub Enterprise Server 将从您的 GitHub.com 帐户访问的资源,然后单击 Authorize(授权)

    授权 GitHub Enterprise Server 与 GitHub.com 之间的连接

问问别人

找不到要找的内容?

联系我们