{"meta":{"title":"关于防止泄漏的操作指南","intro":"了解如何在不同的环境中使用 GitHub的推送保护。","product":"安全性和代码质量","breadcrumbs":[{"href":"/zh/code-security","title":"安全性和代码质量"},{"href":"/zh/code-security/how-tos","title":"How-tos"},{"href":"/zh/code-security/how-tos/secure-your-secrets","title":"保护机密"},{"href":"/zh/code-security/how-tos/secure-your-secrets/work-with-leak-prevention","title":"与防止泄漏合作"}],"documentType":"subcategory"},"body":"# 关于防止泄漏的操作指南\n\n了解如何在不同的环境中使用 GitHub的推送保护。\n\n## Links\n\n* [从命令行使用推送保护](/zh/code-security/how-tos/secure-your-secrets/work-with-leak-prevention/working-with-push-protection-from-the-command-line)\n\n  了解如果 GitHub 在你的更改中检测到机密，如何从命令行解除对 secret scanning 的推送阻止。\n\n* [通过 GitHub UI 使用推送保护功能](/zh/code-security/how-tos/secure-your-secrets/work-with-leak-prevention/working-with-push-protection-in-the-github-ui)\n\n  了解当 secret scanning 检测到你的更改中有机密时，如何解除对提交的阻止。"}