Hi—I need a git gc on my repo
***st/ins***-***te
Hi @swebst and welcome to the community!
I ran a git gc on your Bitbucket repo but its size hasn't decreased.
If you would like to remove files from Git history to reduce the repo's size, you can check the following reply of mine on another post for info:
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
Hi @swebst
Welcome to Atlassian Community.
Please go through below url Atlassian git tutorials.
https://www.atlassian.com/git/tutorials/git-gc
you will able to setup git gc on your repo.
Vikram P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shwebs
Do you want to set up git for bitbucket or do you want to clean up unnecessary files for your repo?
Vikram P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @swebst
you can run below command locally at any time. Running it won't have any adverse effect on your repository.
git gc
which 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.
or
Please go through the below documentation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.