此版本的 GitHub Enterprise 已停止服务 2021-09-23. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

Enabling GitHub.com repository search from your private enterprise environment

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

About search for GitHub.com repositories from GitHub Enterprise Server

You can search for designated private repositories on GitHub Enterprise Cloud from 您的 GitHub Enterprise Server 实例.

基本要求

  • An enterprise owner for GitHub Enterprise Server must enable GitHub Connect and 统一搜索 for private repositories. For more information, see the following.

  • You must already have access to the private repositories and connect your account on GitHub Enterprise Server with your account on GitHub.com. For more information about the repositories you can search, see "About searching on GitHub."

Enabling GitHub.com repository search from GitHub Enterprise Server

  1. Sign into GitHub Enterprise Server and GitHub.com.

  2. On GitHub Enterprise Server, in the upper-right corner of any page, click your profile photo, then click Settings. 用户栏中的 Settings 图标

  3. 在左侧边栏中,单击 GitHub Connect用户设置侧边栏中的 GitHub Connect 选项卡

  4. 单击连接 GitHub.com

    从 GitHub Enterprise Server 设置连接到 GitHub.com

  5. 单击连接 GitHub.com

    从 GitHub Enterprise Server 设置连接到 GitHub.com