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.
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 repositoriesThis is the fastest way to solve the problem, but loses metadata such as PRs, Pipelines, Permissions, etc.
HTTPSgit push --mirror https://<username>@bitbucket.org/<WorkspaceID>/<RepoName>.gitSSHgit 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.
It looks like you're new here. Sign in or register to get started.