BItbucket says repository is 1.2 GB but the local folder is not close Edited

I get warnings that my repository is to big, about 1.2 GB. But when I do

    du -hs *

on my machine I get

   198M    Matlab
    2,6M    MatlabLib
     46M    Projects


  du -hs .git

  195M    .git



git count-objects -Hv

count: 44
size: 176.00 KiB
in-pack: 2008
packs: 2
size-pack: 362.01 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes



1 answer

1 vote

Hi Erik, can you navigate to your repo's directory, run the following and show us the input?

git count-objects -Hv

If the size of the local repository still differs from the size of the remote, we might need to run a garbage collection for you in the server.

Let us know!



Hi, thanks for you reply. I have edited my post with the output you wanted.


/ Erik

I have found a couple of big files which I have deleted. I have also run 


$ java -jar bfg.jar --strip-blobs-bigger-than 10M

I just cloned it into my other computer and the total repository is around 195 MB, including .git. How do I request a garbage collection from your side?

Hi Erik! Let us know the name of the repo (I'm assuming it is hosted in your Bitbucket Cloud account) and we'll do it :)



Thanks, it is newresearch2.

We've run a git gc on the remote and the size decreased to 189.0 MB :) Is there anything else we can help you with?

Have a good day,



PS: For the future, it's better if you submit a new question for this kind of request ;)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,753 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you