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

erikbylow November 2, 2017

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

and

  du -hs .git

  195M    .git

 

Edit:

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
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2017

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!

Cheers,

Ana

erikbylow November 3, 2017

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

 

/ Erik

erikbylow November 12, 2017

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?

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 13, 2017

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 :)

Regards,

Ana 

erikbylow November 13, 2017

Thanks, it is newresearch2.

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 13, 2017

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,

Ana 

 

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
TAGS
AUG Leaders

Atlassian Community Events