How to fix repository after trying to delete a file from complete repository?

I tried to delete a file from complete repository (1.6 GB) following this description:
https://help.github.com/articles/removing-sensitive-data-from-a-repository/

After executing

git push origin --force --all

the size of the repository was 2.2 GB.

How can I fix this?

1 answer

0 votes

Hi Philipp! Are you using Bitbucket Cloud? If so, please refer to our official documentation at Reduce repository size to make sure you followed all the right steps. Also, keep in mind that it can take some time for the automatic garbage collection to run, this will run a number of housekeeping tasks within the current repository (such as compressing file revisions to reduce disk space and remove unreachable objects which may have been created). If your repo is still showing 2.2GB after some time, please let us know its name and we'll have a look from our side.

Cheers, 

Ana 

Hi Ana,

I could not reduce the size with garbage collecting.

The repo is dappremium/dap_typo.

Could you take a look?

Cheers
Philipp

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

402 views 5 9
Read article

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