Hi!
Today my bitbucket memory was 1.3GB so I deleted more then 600MB of files witch I didn't need and I took the files I need and changed their directory in Unreal Engine. So after the push I recognize that my bitbucket memory has grown to 1.5GB. And in the bitbucket server I see that the last push "added" me all the files that I changed their directory.
How is it possible when I didn't add any file?
Thanks for help!
Community moderators have prevented the ability to post new answers.
Hi Yoni,
Deleting files doesn't actually reduce repository size, as Git will still keep them in your repository history. This page has some good advice for removing files completely from repository history.
cheers,
Tim
There's a good step-by-step guide here: https://rtyley.github.io/bfg-repo-cleaner/#usage I'd recommend using a combination of the --strip-blobs-bigger-than and --delete-files commands (explained on that page under "examples") to remove large files from your repository. Hope that helps! cheers, Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I entered this command $ java -jar bfg.jar --strip-biggest-blobs 500 topdown.git the Source Tree commander wrote me "java command not found."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yoni, BFG is written in Java and packaged as an executable JAR file. You'll need to have Java installed and the java binary on your path in order to run it. cheers, Tim
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.