Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

The local repository size is 500 MB, but Bitbucket shows it as 3.4 GB.

이승연_WM_
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!
August 9, 2024

 

I got a 2GB alert, so I tried to clean up and downsize the storage. I deleted the large folders from the history and storage. The local storage size is now 500MB, but the storage size in the bitbucket cloud was ~3.4GB, which was the same as before. I tried several things including deleting large folders with git gc, filter-branch, but it didn't help. Please guide me on how to reduce the remote storage size in the bitbucket. Why is it different if the remote and local gc?

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 11, 2024

Hi @이승연_WM_

Welcome to the community.

What I can do is to run Git GC (Garbage Collection) against your remote repository on my end.

Would you be able to provide your repository URL?
You can mask your repository URL by following the format below:

https://bitbucket.org/w*******e/r**o/

Example URL: https://bitbucket.org/workspace/repo/

Regards,
Mark C

이승연_WM_
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!
August 11, 2024

 

Thank you so much~~

https://bitbucket.org/w*****-***e/m***-*******-***-*****p

The link above is the repository address.

 




- Could you please delete a folder from the remote repository using the command below?

git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch npm-packages-offline/*' --prune-empty --tag-name-filter cat -- --all

Suggest an answer

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

Atlassian Community Events