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>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.