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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Git Repo Size


Go to End


3 Posts   1501 Views

Avatar
tazzydemon

Community Member, 135 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
(deleted)

Community Member, 473 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, 135 Posts

30 June 2014 at 10:25am

Well, thats me told!