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
- Sign in to both your user account on GitHub Enterprise Server and your user account on GitHub Enterprise Cloud (GitHub.com).
- On GitHub Enterprise Server, in the upper-right corner of any page, click your profile photo, then click Settings.
- 在左侧边栏中,单击“GitHub Connect”。
- 单击“连接 GitHub.com”。