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

GC on Remote repo

Dear Bitbucket support team,

We used BFG to migrate our repository to LFS. After pushing the cleaned repo back per the BFG cleanup instructions, this actually increased the size of the repository by ~1GB. Locally, the repository is only 1.62 GB whereas the remote repo is 3.18 GB. Could you please run a git gc on our remote repository?



1 answer

1 accepted

0 votes
Answer accepted
Caroline R Atlassian Team Jan 11, 2022

Hi, Tanner! Welcome to the community! 

I ran the GC against your repository and managed to reduce its size. Just to give you some context around the reason your repository increased its size, when you pushed the changes with BFG, the remote repository still had the old references as well. So the GC is required on the remote repository to clean up any old references you have removed. 

I also would like to share with you that we have a feature request to allow users to mark repositories for git GC, as you can check here:

Please consider adding yourself as a watcher to receive the updates as we make progress with this. If you are not familiar with our Feature Request Policy, you can read more about it here.

Feel free to share any additional questions or concerns regarding this case.

Kind regards,

Hi Caroline, thank you for your assistance and for the fast turnaround time! We are glad this issue has been resolved and appreciate the tip on marking the repo for gc for future use.

Caroline R Atlassian Team Jan 12, 2022

Hi, Tanner! 

I'm glad to help! Please feel free to create new questions in our community if needed. 

Kind regards,

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

236 views 2 5
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