Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

This repo is enormous #27

Open
ampersandre opened this issue Nov 21, 2019 · 2 comments
Open

This repo is enormous #27

ampersandre opened this issue Nov 21, 2019 · 2 comments

Comments

@ampersandre
Copy link

I cloned the repo today and noticed that it was taking quite a while.

Ended up with this output:

> git clone https://github.com/googlecodelabs/workbox-lab.git
Cloning into 'workbox-lab'...
remote: Enumerating objects: 18, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 3781 (delta 11), reused 8 (delta 4), pack-reused 3763
Receiving objects: 100% (3781/3781), 46.14 MiB | 475.00 KiB/s, done.
Resolving deltas: 100% (2289/2289), done.

Whoa, 46.14 MiB

Looking through the GitHub api, we can see that the size is 47254kb:
https://api.github.com/repos/googlecodelabs/workbox-lab

Is there a way to clean up the packfile?

@DavidScales
Copy link
Contributor

Hi ampersandre, thanks for pointing this out. Investigating a little, it looks like we created this repo on top of another larger repo, and so git is tracking a bunch of history for that - including some pretty large binaries and I'm sure a ton of images.

I'm not that git savvy to know how to fix that without some time researching, and since it's not mission critical I'll probably have to defer it for now. But we will try to get to it at some point.

Reminder to future self / team:

  • This article may describe a solution for the issue
  • Be sure not to break any forks!

@Chris-Walsh
Copy link

Addition to future reminder:

  • More information/potential solution to reducing the pack size can be found here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants