Skip to main content

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