Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-10-12. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 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 your GitHub Enterprise Server instance. For more information about searching across environments, see "About searching on GitHub."

Prerequisites

An enterprise owner for GitHub Enterprise Server must enable GitHub Connect and unified search for private repositories. For more information, see "Enabling unified search for your enterprise."

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 icon in the user bar
  3. 在左侧边� �中,单击“GitHub Connect”。 用户设置侧边� �中的 GitHub Connect 选项卡
  4. 单击“连接 GitHub.com”。 从 GitHub Enterprise Server 设置连接到 GitHub.com