The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Cannot push due to repository size is to big

Trương Thị Hồng Thảo
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 26, 2024

 

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]

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 28, 2024

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)

 

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events