Hi,
Is it possible to run gc manually on '<repo_name_removed>'?
I deleted some big files with BFG, and the size locally after deleting the big files seems to be 1.31 MiB (using git count-objects -vH in the .git folder), but on bitbucket the size still seems to look like 83.71 MB.
Hi Kristoff and welcome to the community!
I ran a git gc for this repo. Its size has been reduced, but only to 68.7 MB.
Could you please try the following:
1. Take a mirror clone of the repo with the command (this will clone all branches from the remote repo)
git clone --mirror <repo_url>
2. Navigate to the directory of the mirror clone
3. Run the command git count-objects -vH there
What output do you get from this command?
I would like to understand if the difference in size is because of branches that are not present in your local clone or if there is another reason for this difference.
Just a heads up, I removed the repo name from your post to protect your privacy.
Kind regards,
Theodora
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.