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

BitBucket claims our repo is > 2GB and blocked

Søren Nielsen January 23, 2019

But the size locally is much smaller.

Looking at other threads there might be a need to run GC on BitBucket:

https://community.atlassian.com/t5/Bitbucket-questions/Why-Bitbucket-cloud-is-showing-a-different-size-than-my-local/qaq-p/716727

 

How to proceed with this?

 

1 answer

1 accepted

0 votes
Answer accepted
Søren Nielsen January 23, 2019

If you experience your BitBucket repo size is bigger than it should be try the following:

On a branch (you don't need to do it on your main branch)

git reset --hard HEAD~1

git push --force

This will send your branch "back in time" and for some stupid reason trigger BitBucket to clean up your repo (GC)

(at least that is the theory)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events