Push logs

View and configure the audit log

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Bitbucket Data Center retains logs of important audit events with the auditing feature. However, when it comes to knowing who pushed certain commits and who was responsible for creating or deleting branches, a push log can be used by anyone that can administer the repository.

Viewing a push log

  1. In the Repository settings, go to Push log (under Security).

  2. Review any push events, created branch events, deleted branch events, modified files, and merge events.

Each row in the push log represents:

  • Push date – a date for the push
  • Pushed by – who performed the push
  • From/To – what range of commits were affected
    • Created – the first time a user pushes their branch
    • Deleted – a branch has been deleted 
  • Action – trigger types for each event, which can be any of the following:

Tracking push events

Bitbucket will track whether updates are forced or not and display these events. Previously, tracking was not available, so we may not know whether they were forced. In these cases, there will be an (i) with a tooltip next to the action trigger to indicate this status.

Filtering branches

By default, you'll see the repository's default branch (typically master). You can search for history and details by another branch (even a deleted one) in the push log. For example; see what commit a branch pointed to before it was deleted, or who created a branch and when. 

To view how and when a branch was deleted:

  1. In the Push log page, from the Branch dropdown, select any deleted branch.
  2. Once selected, the events results are displayed. 

Last modified on Sep 23, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.