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
I have followed the document to undo the last commit is: https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.