Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

GIt Repo exceeds 4 GB

Edited

My repository size becomes over the limit of 4gb. So I reset the one branch to commit before the large commit and gave git push --force.
I still have some branch with same large files.
Do I need to do same with all branches ?

Will deleting old branches will effect ?

 

1 answer

0 votes
Caroline R Atlassian Team Jan 14, 2022

Hi, @Prachi Jain Chaudhary, thank you for reaching out to Atlassian Community.

I checked the repositories that your Bitbucket Cloud account has access to and couldn’t find any repo showing 4 GB, could you please confirm if after you reset this branch, the repository size decreased? 

If you need to remove files from the history of all branches, I would recommend running BFG on a mirror clone (as mentioned here: https://rtyley.github.io/bfg-repo-cleaner/), this way you will not have to repeat the process for every branch. 

If you plan to use BFG to reduce the repo's size further, please feel free to let me know after you push your changes and I can run a git GC (I just would need to know the repository name, so you could share the last 3 letters of this repo here). 

Let me know if you have any questions. 

Kind regards, 
Caroline 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

117 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you