Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Who can delete from the Bitbucket Push Logs

Terraster
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 4, 2023

The Push logs (https://confluence.atlassian.com/bitbucketserver/push-logs-998882984.html)
are also kept for deleted branches.

Who can delete this log entries?

It looks like they stay forever, our bitbucket admins could not help us in this question.

1 answer

0 votes
v8lust August 5, 2023

I believe this report is based on the Git commit history itself and not a separate log in BitBucket. Assuming this is true, you can use BFG Repo-Cleaner open source tool. This is a JAR file which can hard delete from Git.

Note: this is commonly used to removed Binaries or sensitive data that has been accidentally committed to Git.

Terraster
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 6, 2023

In a test repositry I have used git reset HEAD~n to squash to the repo to a single commit and push with force. 
After a test checkout the local history has exactly one commit and also the Bitbucket repository has exactly one commit

With the exception of the push logs (https://confluence.atlassian.com/bitbucketserver/push-logs-998882984.html)
here you can see the force push and and also still the old old commits, you can easily reproduce with the method described above.

Again to clarify I'm talking about the push log (found under the repository settings)
and not about the also available commit history of the repository.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events