git push Enumerating objects: 350, done. Counting objects: 100% (350/350), done. Delta compression using up to 16 threads Compressing objects: 100% (116/116), done. Writing objects: 100% (191/191), 2.42 MiB | 1.82 MiB/s, done. Total 191 (delta 91), reused 55 (delta 16), pack-reused 0 remote: Resolving deltas: 100% (91/91), completed with 67 local objects. remote: Checking connectivity: 185, done. remote: Repository is over the size limit (4 GB) and will not accept further additions. remote: remote: Learn how to reduce your repository size: https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Rewind-history-to-undo-large-commits. To https://bitbucket.org/hongthao1306/nlt_sc.git ! [remote rejected] main -> main (pre-receive hook declined) error: failed to push some refs to [REDACTED]
Hi Trương,
I have successfully executed a garbage collection against that repository - it has reduced the size down from 4.0GB to 681MB.
Please have yourself and your team perform a fresh git clone to ensure that old refs are not accidentally pushed back to the repository (as this could inflate the size again).
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.