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 not letting push >2GB

Edited

Hi - Our repository grew greater than 2GB. Having hard time understanding how last commit caused it? Previous merge done few days back had a big file. Tried the approach to get rid of the file but it did not work:

git branch <keeper>
git reset --soft @{u}^
git push --force
git merge --ff-only <keeper>
git branch -d <keeper>

https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/?_ga=2.97950108.2090835258.1595407553-135982522.1593562827

Could you please help understand the approach I follow to reduce size? I could see the 19th commit on master has the big file. 

Update: Reached out with support ticket. Garbage Collection was run. We are in good shape now. But would be great if you can provide clear instructions involving multiple branches and commits in this scenario.

1 answer

0 votes
Ana Retamal Atlassian Team Jul 28, 2020

Hi Sai,

Glad that your issue is fixed now. 

We don't provide support for Git, that's why we only give an example on how to reset the last commit, instead of multiple examples for multiple scenarios. If you need more help regarding how to use git in those cases, you can refer to their official documentation. 

If there's anything else we can do from the Bitbucket side, let us know!

Best regards,

Ana 

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,717 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