Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Repository not letting push >2GB

Sai Perumandla
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 22, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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
AUG Leaders

Atlassian Community Events