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.
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
It looks like you're new here. Sign in or register to get started.