Skip to main content

이 버전의 GitHub Enterprise는 다음 날짜에 중단되었습니다. 2024-12-19. 중요한 보안 문제에 대해서도 패치 릴리스가 이루어지지 않습니다. 더 뛰어난 성능, 향상된 보안, 새로운 기능을 위해 최신 버전의 GitHub Enterprise Server로 업그레이드합니다. 업그레이드에 대한 도움말은 GitHub Enterprise 지원에 문의하세요.

내 커밋이 푸시 보호에 의해 차단됨

리포지토리를 안전하게 유지하기 위해 푸시 보호를 사용하면 실수로 리포지토리에 비밀을 커밋할 수 없습니다.

Understanding why push protection has blocked your commit

Leaked secrets can pose serious security risks to your repository and your supply chain. Push protection prevents you from accidentally introducing secrets to your codebase where they could be exploited by malicious actors.

If the repository you're contributing to on GitHub is secured by push protection, you'll encounter a push protection block whenever you:

  • Push commits containing recognized secrets from the command line to the remote repository.
  • Commit changes containing recognized secrets to a repository in the GitHub UI.

Resolving a push protection block

In order to resolve the block, you should remove the secret from the commit . If you believe the secret is safe to push, you may be able to bypass the block. For more information on how to remove the secret or, if necessary, bypass the block, see:

Further reading