Forums

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

Request for git gc

Swordslayer April 12, 2025

Hi, after cleaning the repo so that it has ~400MB locally, the remote size is still stuck a week after. Since the new limits come into play soon, I'd appreciate if it was possible for gc to be run on my repo. Thanks in advance!

1 answer

0 votes
Carlos Garcia Navarro
Community Champion
April 12, 2025

Hi @Swordslayer ,

Welcome to the Community! I think this other post may be helpful: https://community.atlassian.com/forums/Bitbucket-questions/How-to-perform-git-gc-on-a-remote-repository-after-BFG-large/qaq-p/1771941

In this one @Caroline R provided great insights about garbage collector in Bitbucket and helped with a similar issue. There are also these feature requests , BCLOUD-11593 (although it's not being considered at this moment) and BCLOUD-20322.

Swordslayer April 12, 2025

Hi, in that post and others like it, the solution in the end was an Atlassian Team member saying they ran the gc manually. GitLab has housekeeping tools that help with this, and I agree with the comments on the feature request you linked that having something similar here would help, even if there was a limit to how often you can run a command like that.

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 14, 2025

Hi @Swordslayer 

The reason there may be such a large difference between the size locally, is because your pull request is storing the binary file on the server-end. PR's retain binary files to speed up the performance of loading PR diffs:

I've raised a ticket on your behalf, please respond there so we can work on reducing the size.

Cheers!

- Ben (Bitbucket Cloud Support)

Like Carlos Garcia Navarro likes this
Swordslayer April 15, 2025

Hi @Ben 

Thanks a lot for getting back to me. Makes sense, I'd be happy to delete that PR if there was such option. Would have replied in the ticket but I didn't get any email/notification with a link to the ticket, and I don't see it under Support Tickets (I tried both 'Where I am participant' and 'Created by anyone).

Thanks again and have a nice day!
V.

Like Carlos Garcia Navarro likes this
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 15, 2025

Hi Swordslayer,

Can you please check your outlook email address? You should see the email in your inbox.

Cheers!

- Ben (Bitbucket Cloud Support)

 

Swordslayer April 15, 2025

Hi, I'm afraid that's the owner of the repo (not really familiar with git), I have admin role and .cz email.

Cheers!

V.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events