Hi,
I exceeded the repository size limit to 2 GB. I want to remove only one branch and it will be reducing the repository size again.
I followed the instruction of removing just one branch from help page. But I am not sure how i can push that OR how i can remove the branch directly from Bitbucket? Because, whenever i push it gives exceed limit error.
I tried multiple times removing from Bitbucket, it didn't work. Maybe, because of exceeding limit.
I did gc(thrice) for removing branch. It didn't work. Please help to do gc asap.
If anybody can help with this, I really appreciate your time.
Thank You
Jay
This issue is resolved.
If you exceed 2GB of limit in free, Bitbucket automatically converts your repo to READ-ONLY. So, any kind of push is not allowed(even force push).
I filed a ticket for customer help and they reached out to me as temporary write access. I roll-back to previous version and I did clean my local repo with help of following link: https://github.com/18F/C2/issues/439
After that i force pushed to bitbucket and customer service engineer ran gc on repo.
Hello,
Try to delete this branch from the Web UI:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried to delete from web UI too, It didn't work. It shows, failed.
Thank You @Alexey Kryzhanovskiy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ravi Patel, Can you try delete the specific branch remotely through git client using the command like below:
git push origin :<branchname> (or) git push origin --delete <branchname>
It will delete the given branch remotely.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rambabu Patina _Appfire_ : I tried this, Any kind of push is not working. It shows error "Repository is in read only mode (over 2 GB size limit). Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw".
From this help page i ran gc, and they have mentioned it should clean in an hour. It's about to 20+ hours, now.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ravi Patel As your repository seems extraordinarily large, you should reset the head of your branch for the repository then attempt a force push.
Checkout to your branch
git reset --hard HEAD~1
git push --force
Then try delete your branch and let me now if it works for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.