Hi,
I reduced a bitbucket repo size by using BFG for removing large files from history, after following every steps and pushing, the repo size remains the same if not bigger.
Could we have some help here please ?
G'day, @Thibault MAGY
Welcome to the community!
I have triggered GC on the affected repository, but the size remains the same. To verify, can you clone the bare repository using --mirror flag and run git counts-object -vH to verify the clone size?
Regards,
Syahrul
Hi, Syahrul and thank you for your answer.
The size-pack of the mirror clone is 480.03 MiB but on my project it is 301.80 MiB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Thibault MAGY
To confirm, are we talking about the same repository, namely "**rebase"?
That said, your workspace is below the 1 GB limit and the best way to proceed is the following:
Option 1 - Delete & recreate the repositories
This is the fastest way to solve the problem, but loses metadata such as PRs, Pipelines, Permissions, etc.
HTTPS
git push --mirror https://<username>@bitbucket.org/<WorkspaceID>/<RepoName>.git
SSH
git push --mirror git@bitbucket.org:<WorkspaceID>/<RepoName>.gitNOTE: This will remove metadata such as PR's/pipelines/permissions etc but will keep your commit history and binary files intact.Option 2 - Temporarily upgrade
Please let me know how this goes.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.