As a site administrator, you can view a list of Git push operations for any repository on your GitHub Enterprise appliance.

Each push event shows some combination of the following information:

  • who initiated the push
  • whether it was a force push or not
  • which branch was pushed to
  • which protocol was used
  • what the originating IP address was
  • which Git client was used
  • the SHA hashes from before and after the operation

Via a web browser

  1. Open a repository's page in your browser.

  2. In the upper-right corner of the page, click . Rocket ship icon

  3. In the left sidebar, click Push Log. Push log tab

Via the command-line

  1. SSH into your appliance.

  2. Open the audit log file in the appropriate Git repository:

    /data/repositories/owner/repository.git/audit_log