Create
cancel
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 git gc on remote / lock issue

My repository is locked after accidentally committing some files which pushed it up to 2.5GB. I've undone several commits which most likely caused this but my repository size instead increased to 4.5GB.

Because its locked, I'm unable to push fixes from tools such as BFG repo-cleaner.

Can you run a "git gc" on the server to see if this fixes the issue?

1 answer

1 accepted

1 vote
Answer accepted

Hi @Ryan,

I think I identified the repository you described and triggered garbage collection. Repo size reduced significantly.

If you face similar issue in the future, feel free to open a support case here. It'd be easier for us to identify the right repo and also very likely quicker to resolve.

Cheers,
Daniil

Will do, thanks for the help.

Like # people like this

Hi @Daniil Penkin 

We face a Similar Problem on our on premise Data Center.

Can you tell what You actually did to trigger a garbage collection on?

Hello @MatthiasRump,

This question is about Bitbucket Cloud and is not applicable to Bitbucket Server. According to the relevant documentation for Bitbucket Server, it is advised to never run garbage collection manually because of the way repository forking is implemented there.

Hope this helps.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
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,925 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