Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Repository size exceeds limit - Unable to push latest code

Edited

Hello,

after Repository size exceeds limit, I have made undo the last commit. And it was done successfully.

But Still my repository shows the error 

```

Repository size exceeds limit

This repository is over the 4 GB limit and your contributors are not able to push new commits. To resolve this, reduce the repository size.
```
The commit was deleted from branch still the size wasn't decreased
Please help me to reduce the repository size.

I have followed the document to undo the last commit is: https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 27, 2021

Hi @NaveenNayak,

In order for a git gc to run when you undo the last commit, it is necessary to have the Labs feature "Delete dangling commits when over size limit" enabled (for the user that does the push). I can see in our system that this is disabled for your Bitbucket account (you can enable it here, in case you ever need to perform this action again: https://bitbucket.org/account/settings/features/).

I checked the repos your account has access to, and I saw one of them that was over the size limit. I went ahead and ran a git gc for it, and its size is now 1.2 GB. Does this agree with the size of your local repo?

Please feel free to let me know if things are ok now and if you need anything further.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events