Forums

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

Cannot Push to Bitbucket: Repo Exceeds 1 GB Limit

Dhaval Vora
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!
June 4, 2025

Hi, I'm facing an issue pushing to Bitbucket Cloud.

My repository recently crossed the 1 GB limit, mainly due to the Pods/ directory from CocoaPods. Bitbucket now blocks all pushes with the error:

This workspace is over the 1 GB size limit. Reduce the size of your workspace or upgrade to a Standard or Premium plan. 

What I’ve Done So Far:

  • Removed Pods/ from the repo.

  • Added it to .gitignore.

  • Used git filter-repo to delete Pods/ history:

    git filter-repo --path Pods/ --invert-paths
  • Confirmed current size via:

    git count-objects -vH

    → Shows repo is now ~25MB

  • Ran:

    git push --force --all origin git push --force --tags origin

But I Still Get:

remote: This workspace is over the 1 GB size limit... remote: pre-receive hook declined
Any guidance would be appreciated!

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2025

G'day, @Dhaval Vora 

Welcome to the community!

I notice that your workspace is now under the 1 GB limit, so please tell me if you are still unable to push because of this restriction.

Regards,
Syahrul

Dhaval Vora
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!
June 5, 2025

That's because I've transferred repo to GitHub 

Suggest an answer

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

Atlassian Community Events