Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

GC on Remote repo

Tanner Stelmach
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2022

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?

Thanks,

Tanner

1 answer

1 accepted

0 votes
Answer accepted
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 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,
Caroline

Tanner Stelmach
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2022

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
Atlassian Team members are employees working across the company in a wide variety of roles.
January 12, 2022

Hi, Tanner! 

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

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events