Skip to main content

此版本的 GitHub Enterprise Server 已于以下日期停止服务 2024-09-25. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Enabling repository search across environments

Unify search results in GitHub Enterprise Server by connecting your account on GitHub.com.

You can search for designated private repositories on GitHub Enterprise Cloud from 你的 GitHub Enterprise Server 实例. For more information about searching across environments, see "关于在 GitHub 上搜索."

Prerequisites

An enterprise owner for GitHub Enterprise Server must enable GitHub Connect and 统一搜索 for private repositories. For more information, see "为企业启用统一搜索."

Enabling unified repository search from GitHub Enterprise Server

  1. Sign in to both your user account on GitHub Enterprise Server and your user account on GitHub Enterprise Cloud (GitHub.com).
  2. On GitHub Enterprise Server, in the upper-right corner of any page, click your profile photo, then click Settings.

Screenshot of a user's account menu on GitHub. The menu item "Settings" is outlined in dark orange.

  1. 在左侧边栏中,单击“GitHub Connect”。
  2. 单击“连接 GitHub.com”。