Create
cancel
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

Repository size exceeds limit 2 GB. We have deleted some data but it is not reflecting in repo

Hi We are gettign issue tepository size exceeds limit 2 GB. We have deleted some data but it is not reflecting in repo still shows same size.

 

 

1 answer

0 votes

Hi @venkat ,

I see that you opened a support ticket for this as well, I went ahead and ran a git gc for the repository you specified in the support ticket and its size now is 1023.3 MB.

Could you please clarify how you deleted data in the repo?

If you commit file deletions, this will not remove any large files from the repo's history and it won't affect the repo's size.

The way to remove files from the repo's history would be by rewriting history, either with git filter-branch or with a tool like BFG. You can find more info on both here:

In both cases, a git gc will be needed on the remote repo after you push a history rewrite, for the old refs to get removed and for the repo's size to get reduced. You can contact us in this case (if you plan to rewrite history to reduce the repo size further) and we can run it again.

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

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
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,734 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