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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Repo on BitBucket over 4 GB, has cleaned local large files, how can I push to remote?



One of my repo at BitBucket is over the 4GB. I have undo the last push, and delete large files by git filter-branch. But when I pushed local changes back to the Bitbucket repository, it still says size limit.

Could you help to tell me how can I push to remote? Not sure if temporarily increasing the repository size or running the GC against this repo is needed.

Btw, the last 3 letters of the name of the workspace and repository are "ile" and "app".


1 answer

0 votes

Hi @yuanqimami and welcome to the community!

Undoing the last push will trigger a garbage collection under the following conditions:
1. the repo is over the 4 GB limit
2. Delete dangling commits when over size limit is enabled in for the user that does the push
3. you undo the last push and then push only that and no other changes (like commit deletions, changes with git gilter-branch, BFG, etc)

If your repo was over the 4 GB limit and the Labs feature was enabled, I believe the push must have failed because you were trying to push additional changes other than undoing the last push.

I ran a git gc for your repo and its size is 1.1 GB now.

Does this agree with the size of your local repo?

In case you have reduced the repo's size further by removing large files from its history, you can push your changes and please let me know so I can run another git gc for your repo.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events