Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket added me memory when I deleted files

Yoni Berk August 28, 2015

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! smile

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
TimP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2015

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

Yoni Berk August 28, 2015

Thanks! I will check this out.

Yoni Berk August 29, 2015

OK, so I have no idea how to use the BFG.. :\ May you explain me? Thanks!

TimP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2015

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

Yoni Berk August 29, 2015

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."

TimP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 30, 2015

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

Yoni Berk September 1, 2015

Hi Tim, I have Java installed. And what you mean "installed on your path"? Yoni.

TAGS
AUG Leaders

Atlassian Community Events