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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

how to perform git gc on remote repository

I have reduced the size of my repository on local but do not understand how to perform it on remote repository. Please guide ?

1 comment

Hi @Hamza Ahmed ,

I'm afraid that the git gc on the remote repo cannot be triggered by end users.

The only time when this is possible, is if:
- your repo is over 2 GB
- and you have enabled the Lab feature "Delete dangling commits when over size limit" for you account
- and you reset your local branch prior to the large commit and then push this, as per our instructions here . Then the git gc should get triggered automatically after this push.

I can run a git gc for your repo if you can let me know its URL.

Alternatively, you can open a ticket with the support team via and request a git gc for your repo. In "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product.

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

Kind regards,

Thank you @Theodora Boudale for your quick response for now i have space for more commits. i'll share my link in future if i need to run git gc on remote.

Like Theodora Boudale likes this


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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,352 views 1 8
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