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

Why git repository is too large while compare with my local project ?

My project size in local is 190mb but in git repository its showing 750mb why it happens?

May i doing anything wrong? Please help me!

1 answer

0 votes

Hi Devi,

One possible reason is that your local repo does not have all the branches/commits that the Bitbucket repo does. Another possible reason is that the remote repo has some dangling commits and/or a git gc hasn't run on the remote repo.

If you give me the URL of the repo, I can run a git gc on it and this may help to reduce its size. If you don't feel comfortable sharing the URL publicly, you can open a ticket with Bitbucket Cloud support team and request for a git gc on the repo. You can open a ticket via, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product and also mention the URL of the repo.

Please feel free to let me know if you have any other questions.

Kind regards,

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,792 views 10 16
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