akutkin / frb

0 stars 0 forks source link

Huge repo size #19

Closed ipashchenko closed 8 years ago

ipashchenko commented 8 years ago

Commit f1927c0 removed big m5 file, but seems it still in repo hist, so repo size is 100MB now)

akutkin commented 8 years ago

There's no this file. In my local repo there is folder .git/objects/pack/ of 100 MB size. wtf?

ipashchenko commented 8 years ago

Yes, it's in history (you can checkout previous commit and big file will appear again:) 05.07.2016 8:49 пользователь "Alexander Kutkin" notifications@github.com написал:

There's no this file. In my local repo there is folder .git/objects/pack/ of 100 MB size. wtf?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/akutkin/frb/issues/19#issuecomment-230409561, or mute the thread https://github.com/notifications/unsubscribe/ABa97kBKn32k0mYkei_LFoL9OPWUlI2Sks5qSgx5gaJpZM4JEm4T .

akutkin commented 8 years ago

So what we gonna do with this shit?

ipashchenko commented 8 years ago

surf stackoverflow)

On Tue, Jul 5, 2016 at 12:49 PM, Alexander Kutkin notifications@github.com wrote:

So what we gonna do with this shit?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/akutkin/frb/issues/19#issuecomment-230435060, or mute the thread https://github.com/notifications/unsubscribe/ABa97uXqJzPELeiBdn_XRNL6yEW-F8FEks5qSii5gaJpZM4JEm4T .

akutkin commented 8 years ago

tried. it didnt help )

ipashchenko commented 8 years ago

OK, @akutkin , i've just figured out how to solve it:

EDIT: don't do this (i did it)

First, in some place do this:

$ git clone --mirror git@github.com:akutkin/frb.git $ yaourt -S bfg $ bfg --strip-blobs-bigger-than 50M frb.git $ git reflog expire --expire=now --all && git gc --prune=now --aggressive $ git push

Now delete your old local clone of repository and clone it again. I can't push - i think because you are a owner.

ipashchenko commented 8 years ago

It seems that i actually did it)

akutkin commented 8 years ago

master!