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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Need for git gc on remote repository

My repository is still locked after being cleaned up. My fully cloned repository is ~160 MB but it's still showing 3.2 GB in the dashboard and I'm unable to push any new commits.

Could you help me run "git gc" on the server to see whether it fixes this issue???


Link to my repository:

1 answer

1 accepted

0 votes
Answer accepted

Hi @Nguyen_Luong_Dien,

I've checked your repository and looks like the automated gc ran already, I can see a size of 542.5 MB. I know this differs from the size you mentioned in your message, but a few days have passed and I didn't want to take any further action. 542.5 MB is still a decent size so I wouldn't worry about it, but if you want you can run git count-objects -Hv on your local repo and see if it returns a similar size.

If you'd like, I can run another git gc on the remote but keep in mind that sometimes due to the operations that take place the size can temporarily increase. 

Hope that helps!


Hi @Ana Retamal ,

This problem was already resolved in this ticket by Ronald:

I created this thread before I realized that it was more appropriate to create a support ticket for my urgent situation.

Sorry about this redundancy...

Thank you for your reply! Have a good day!

Ana Retamal Atlassian Team Jun 25, 2020

Ah, that's great! Glad that Ronald could fix it in time :D 

You too have a good day,



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,725 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you