Skip to main content

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

关于防止泄漏的操作指南

了解如何在不同环境中使用 GitHub 的推送保护。

Working with push protection from the command line

Learn your options for unblocking your push from the command line to GitHub if secret scanning detects a secret in your changes.

通过 GitHub UI 使用推送保护功能

了解在 secret scanning 检测到更改中存在敏感信息时解除提交阻止的选项。