Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Git Repo Size


Reply


3 Posts   260 Views

Avatar
tazzydemon

Community Member, 124 Posts

26 June 2014 at 1:13pm

One of the advantages of Git is its history. You have it all. That's also the snag. The Silverstripe repos are getting huge. I just cloned the framework repo and it's grown to 45MB!

I know I should perhaps be using git fetch but maybe the 2.0.X branches could be pruned.

Julian

Avatar
simon_w

Forum Moderator, 474 Posts

28 June 2014 at 12:24am

That will have almost no effect on the size of the repo. Branches are just a file that points at a commit. Deleting the branch just deletes that pointer, all the underlying commits are still there.

Deleting the commits won't work either, as they're needed to be able to build up the current state.

Avatar
tazzydemon

Community Member, 124 Posts

30 June 2014 at 10:25am

Well, thats me told!