Repository size will not shrink following Git LFS migration and BFG repo cleaner use Edited

One of our repositories is approaching 1 GB in size.  It has a lot of content, so after creating a fork of the repo for testing purposes I attempted to follow the instructions here - - to shrink the fork.  It has been more than 48 hours and the size of the forked repo has not changed (although I can see space is being consumed in Git LFS).  Are there other steps beyond this article that need to be followed?

Note: I also followed the process detailed in this SO answer - - to no avail.


Thanks for your attention.

1 answer

0 vote

Hi Jon! Can you let us know the name of the original repo and the name of the forked repo? I'll assume they are in your Bitbucket Cloud account, if they are in a different one please let us know so we can check the right one. Also, have you tried the steps at Reduce repository size already?

Best regards :)


Hi Ana.  The name of the original repo is 'webapp'.  The name of the forked repo is 'webapp-git-lfs-test'.  They are both owned by the 'touchtown' team I am a member of.

I checked the size of the webapp-git-lfs-test repo this morning and it has been doubled since my original message - although I have not taken any action in it since posting my original message.  It went from approx 990 MB to 1.7 GB.  Any idea why???

Yes, I attempted the steps in the link you cited above regarding using BFG repo cleaner to rewrite history and reduce the size against the forked repo (pushes were never disabled to this repo so we didnt need the steps related to that).


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...

175 views 20 8
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