Skip to main content

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

푸시 로그 보기

사이트 관리자는 엔터프라이즈의 모든 리포지토리에 대한 Git 푸시 작업 목록을 볼 수 있습니다.

Push log entries show:

  • Who initiated the push
  • Whether it was a force push or not
  • The branch someone pushed to
  • The protocol used to push
  • The originating IP address
  • The Git client used to push
  • The SHA hashes from before and after the operation

Viewing a repository's push logs

  1. Sign into GitHub Enterprise Server as a site administrator.
  2. Navigate to a repository.
  3. In the upper-right corner of the repository's page, click .
  4. In the upper-right corner of the page, click Security. Screenshot of the header of the "Site admin" page for a user or repository. The "Security" tab is highlighted with an orange outline.
  5. In the left sidebar, click Push Log.

Viewing a repository's push logs on the command-line

  1. SSH into your GitHub Enterprise Server instance. If your instance comprises multiple nodes, for example if high availability or geo-replication are configured, SSH into the primary node. If you use a cluster, you can SSH into any node. For more information about SSH access, see "Accessing the administrative shell (SSH)."

    ssh -p 122 admin@HOSTNAME
    
  2. In the appropriate Git repository, open the audit log file:

    ghe-repo OWNER/REPOSITORY -c "cat audit_log"