Forums

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

Need help in cleaning up old/large files

Seb N
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!
July 9, 2025

Hey there,

I'm wondering if someone at Atlassian would be able to run `git gc` on the <redacted> repo in my workspace (https://bitbucket.org/workspace-id/).

My workspace has been put in read-only mode because that repo is now at 1.4Gb, but I believe that most of that space is taken by old unreachable files that have since been deleted. I think that running `git gc` on it would shrink that repo by quite a bit and put me back under the 1 Gb limit.

Thanks in advance for the help with that!

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 9, 2025

Hi Seb and welcome to the community!

I ran a git gc for your repo but its size remains unchanged at 1.4 GB.

How did you delete these old files? Did you rewrite history, or did you commit file deletions? Please keep in mind that committing file deletions is not going to remove the files from the repo's history.

You can check this answer of mine to a different question:

I posted steps on how to identify large files and remove them from history with BFG repo cleaner.

If you reduce the size of your repo locally, you can temporarily upgrade to a paid billing plan to push your changes. We provide a 30-day evaluation for the Standard and Premium plan and we only charge at the end of this period. If you downgrade to the Free plan before the 30-day evaluation period is over, we won't charge you.

Please feel free to let me know if you have any questions.

Just a heads up, I removed the repo and workspace details from your post to protect your privacy.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events