I'm having a question regarding the packs and the repacking of those during
I'm migrating a big repository which after initial commit of all files
contains only one pack file of 120MB in size (about 800 extracted).
On this big repo I created various subtree branches so I can clone some of
the folders individually (without getting the whole big thing). The problem
is, however, that all my subtree clones seem to get a copy of the big 120MB
pack, only to then extract 2MB from it.
After testing a little bit I figured that this only happens if I use ssh or
the git protocol to clone the repo. When using file:// to specify the
remote repository some repacking seems to happen automatically and I end up
with a new pack file for my clone that only contains the stuff that is
really needed for my branch (which obviously results in much smaller size).
- Any idea how this could be achieved using ssh or git protocol (as
obviously I'd prefer to use those over file:// )?
- Is that "as designed" or could it be a bug in git?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at