此版本的 GitHub Enterprise 将停止服务 2022-02-16. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 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.

基本要求

  • An enterprise owner for GitHub Enterprise Server must enable GitHub Connect and 统一搜索 for private repositories. For more information, see the following.

  • You must already have access to the private repositories and connect your account on GitHub Enterprise Server with your account on GitHub.com. For more information about the repositories you can search, see "About searching on GitHub."

Enabling GitHub.com repository search from GitHub Enterprise Server

  1. Sign into GitHub Enterprise Server and GitHub.com.

  2. 在 GitHub Enterprise Server 上任何页面的右上角,单击您的个人资料照片,然后单击设置用户栏中的 Settings 图标

  3. 在左侧边栏中,单击 GitHub Connect用户设置侧边栏中的 GitHub Connect 选项卡

  4. 单击连接 GitHub.com

    从 GitHub Enterprise Server 设置连接到 GitHub.com

  5. 单击连接 GitHub.com

    从 GitHub Enterprise Server 设置连接到 GitHub.com

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。