Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Jasmine Zhang
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 10, 2023

Given my repo size is over 4GB, would like to remove a folder with big files in order to reduce the repo size, but can't commit the change due to oversize. See the error message below:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks commit -q -F C:\Users\jzhang\AppData\Local\Temp\sk0oz4cl.0fc

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin master:master
POST git-receive-pack (33826 bytes)
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.
Pushing to https://bitbucket.org/*/reports.git
To https://bitbucket.org/*/reports.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://bitbucket.org/*/reports.git'


Completed with errors, see above.

1 answer

0 votes
Jasmine Zhang
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 10, 2023

The problem is resolved by following the instruction of how to reduce the repository size! Thanks!

Suggest an answer

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

Atlassian Community Events