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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

My bitbucket repo currently still has 2 GB after deleting branches


My problem is I already deleted branches that I know contains large sizes. I expect my bitbucket repo to be reduced. Also take note that I enabled the "Delete dangling commits when over size limit in the Labs. I tried to a gc prune in my local where my size-pack became 629MB. Please check code snippet below



$ git count-objects -vH
count: 0
size: 0 bytes
in-pack: 1407049
packs: 1
size-pack: 626.69 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes



My repo name is skr


Also, I do not know why any of my bitbucket workspace is not visible in See attached photoScreenshot 2020-10-21 at 21.54.15.png

1 answer

1 vote


I ran a git gc on this repo and its size is now down to 619.5 MB so you and your team should be able to push.

When you have the Labs feature "Delete dangling commits when over size limit" enabled, the git gc will run if you reset a branch to undo the large commits and then push this to Bitbucket, as documented here: in the section "Rewind history to undo large commits".

This is no longer needed now, since I ran the git gc. Are you planning to rewrite history to further reduce the repo's size, or are you ok with the size it has now?

Regarding your workspace not being visible, I believe this happened if you were logged in to an Atlassian account that doesn't have access to the workspace unnotechmanila. In this case, you can log out from the support portal and log back in with an email that has access to this workspace. Alternatively, you can select the link "Continue without workspace URL" and you should still be able to create a ticket.

Please feel free to let me know if things are ok now and if you need anything further.

Kind regards,

Hi Theodora thank you very much! We are now satisfied with things are. We really appreciate your help

Like Theodora Boudale likes this

You are very welcome, good to hear that things are ok now! Please feel free to reach out if you ever need anything else.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,826 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you