Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-06-03. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 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 实例. 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 统一搜索 for private repositories. For more information, see "Enabling 统一搜索 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