Do I need to run git gc (housekeeping) on my repository?

Still need help?

The Atlassian Community is here for you.

Ask the community

The git gc command cleans up unnecessary files and optimizes the local repository. Bitbucket runs this operation on its hosted repositories automatically on a regular basis based on a variety of triggers. Locally you can run it at any time. Running it won't have any adverse effect on your repository.

Last modified on Nov 14, 2022

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.