Forums

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

Error pushing to commit due to file size

Jae Lee
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 17, 2024

 

Pushing to bitbucket.org:<redacted>.git

remote: Repository is over the size limit (4 GB) and will not accept further additions.        

remote: 

 

3 answers

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

Hey @Jae Lee ,

welcome to the Community!

I've manually triggered a garbage collection for your repository in the backend, which managed to reduce the size back to 2.2GB.

That is still quite a big repository, so going forward, I recommend moving some large files to LFS, as @Aron Gombas _Midori_ and @Graham Twine have also suggested.

Thank you, @Jae Lee !

Patrik 

1 vote
Aron Gombas _Midori_
Community Champion
July 18, 2024

As @Graham Twine suggested, you should try LFS. As you are using Cloud, the specific doc is here: https://support.atlassian.com/bitbucket-cloud/docs/use-git-lfs-with-bitbucket/

0 votes
Graham Twine
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 17, 2024

Hello @Jae Lee welcome to the community.

 

Have you enabled Git LFS (Large File Store) on the repository?

You can find this under repository > settings  > Git Large File Storage

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events