Skip to content

Reduce Repo Size #199

@zachbogart

Description

@zachbogart

I noticed the repo is really big to clone every time, but the size of the files are not that large. Found that all of the space is taken up by the .git folder: all the git stuff. We should look into cleaning the repo and making it smaller.

As a reference, our .git folder is ~700MB, while r4ds is ~30MB.

Here's some relevant reading. We should discuss this at your office.

https://stackoverflow.com/questions/28720151/git-gc-aggressive-vs-git-repack
https://git-scm.com/book/en/v2/Git-Internals-Maintenance-and-Data-Recovery
https://stackoverflow.com/questions/2116778/reduce-git-repository-sizehttps://stackoverflow.com/questions/1398919/make-git-consume-less-disk-space

Metadata

Metadata

Labels

backendInvolved with maintenance/upkeep of site

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions