The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

TAGS
AUG Leaders

Atlassian Community Events