I think it's just a case of using a shallow clone (depth = 0 / 1). I don't think you can sub-tree clone.
It is one of my areas of interest - the ability to do a narrow clone, so that irrelevant trees and blobs are not fetched - i.e. the pack is thin and partial. Jeff Hostetler is looking at the partial bit at the moment, but it then fetches the missing bits on demand when the commit is checked out. My idea is that it would just provide a stub (looks like a sub-module oid, but it's a blob/tree oid). Philip > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Michael > Sent: 18 December 2017 23:25 > To: [email protected] > Subject: [git-users] Fetching part of a repository > > Is there a way to get a partial repository, such as > https://github.com/gnustep/gap/tree/master/user-apps/FlexiSheet > > without getting every app there? > --- -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
