Forums

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

reducing the size of repository

jerige
July 14, 2026

Dear Support

 

Can you remove from my repo House the folder _important\DIGITALNI DEL - CD ?

Since I'm over 1 GB, I cannot do it myself since when I delete folder from local repo and try to commit I get the error "This workspace is over the 1 GB size limit. Reduce the size of your workspace or upgrade to a Standard or Premium plan to increase the size limit."

Thank you.

 

 

 

2 answers

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 15, 2026

Hey @jerige 

Welcome to the community.

I've triggered GC on the affected repository, and your workspace total size has been reduced to below 1 GB. So you should be able to make changes to reduce the repository size further.

Regards,
Syahrul

jerige
July 16, 2026

Thank you. Can you run GC 1 more time, since I delete a lot of files and on Bitbucket page the size didn't decrease.

Best,

Jerige

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2026

Hey @jerige 

I've triggered a GC on the repository, and the size did come down a little, but there's still more to reduce.

Worth noting: deleting files through the UI on its own doesn't shrink the repository much, since the file's history remains in the Git objects even after the file is removed from the current view. To actually reduce the size, you'll need to remove those large files from the repository's history (or move them to Git LFS if they need to stay).

Our guide here walks through both approaches in detail: https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size

Regards,
Syahrul

jerige
July 17, 2026

Hi Syahrul

Thank you for your answer.

I check all documentation how to reduce repo size, but that can work only if large file was in last commit, otherwise I loose all commits after that, right? What if I have large file added 2 years ago? How to remove it from the history?

I would appreciate any tip on the matter.

Thanks.

Jerige

jerige
July 17, 2026

I manage to clean also history by using python script

git_filter_repo.py

can you please run GC one more time it should reduce size for more than 100 MB.

If that works out, I will remove also from other repo the big files from history.

 

Regards,

Jerige

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 19, 2026

Hey @jerige 

Unfortunately, the size remains the same. If you want to delete old files, you can try using BFG tools to rewrite the commit history and delete them. Check them out at for more insight of how to use:

BFG repo cleaner 

Regards,
Syahrul

jerige
July 19, 2026

Hi Again

How is that possible? I delete old files and rewrite the history already? Maybe only solution is to delete repo and create the new one and loose the history?

Best

Jerige

0 votes
Tomislav Tobijas
Community Champion
July 14, 2026

Hey @jerige,

I've pinged Atlassian forum support team to check this out. Someone should reach out within 1-2 business days, and they'll probably run garbage collection for you 🧹

Cheers,
Tobi

jerige
July 15, 2026

Hi Tobi

I'm not sure if that will reduce the size below 1 GB. Problem is that now I cannot clean my own repo since I cannot commit, strange design, I would say...

Best

Jernej

Suggest an answer

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

Atlassian Community Events