You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I got the following error message on the Source page of my directory:
Bitbucket mentions that the size of the repo is currently 5.14 GB of 4 GB. However, when running the git count-objects -Hv command, it shows me the following output:
size: 4.00 KiB
size-pack: 101.98 MiB
size-garbage: 0 bytes
I tried to delete the repository on my local and cloned it again, and the size seems to be about 100 mb. Running the count-objects command on any server shows me a similar result, but I can't figure out why we are exceeding the limit.
Thank you in advance,
I ran a garbage collection on the repository and its size is 2.7 GB now. The remote repo most likely had some dangling commits and needed a git gc for them to be removed. Did you perhaps rewrite history for this repo?
Could you please take a mirror clone of the repo with the command
git clone --mirror <repo_url>
then run the git count-objects -Hv command in that mirror clone and let me know what output do you get?
A git clone command without the --mirror flag will only pull the repo's main branch locally and not any additional branches the repo may have.
Just a heads up, I removed the repo url from your post to protect your privacy.