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

Repository size exceeds limit

Eobin G
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 4, 2023

Hi,

Bitbucket showing a  warning that size of my repo exceeds 2GB .when i checked my repository i noticed that it used 2.09 GB of 4 GB. i tried resetting last commit.but it didnt helped.

Can you please run git gc for the remote repository?

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 5, 2023

Hi @Eobin G and welcome to the community!

I ran a git gc on the repository that was over 2 GB and its size has now been reduced.

Resetting the last commit and pushing is something that works if your repo is over the 4 GB limit. If your repo is below the 4 GB limit, you can create a question in community and request a git gc.

We have a feature request to allow users to trigger a git gc on their remote repos that you can vote for: https://jira.atlassian.com/browse/BCLOUD-11593

Kind regards,
Theodora

Eobin G
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 5, 2023

Thank you so much for your help @Theodora Boudale 
and thanks for sharing the link i will look into it.

Like Theodora Boudale likes this

Suggest an answer

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

Atlassian Community Events