Re: Splitting up a repository
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Dec 4, 2010, 07:09 UTC
- Message-ID
- <AANLkTikqnnOLN=asPUKK0zYxYK9VWXcZPBPtwMZ3z-cr@mail.gmail.com>
- In-Reply-To
- <4CF9D15D.7090001@cs.wisc.edu>
On Sat, Dec 4, 2010 at 12:27 PM, Evan Driscoll <driscoll@cs.wisc.edu> wrote:
Show 5 quoted lines
> Say I have a repo where there are directories repo/foo, repo/bar, > repo/baz. 'foo', 'bar', and 'baz' are loosely related -- closely enough > that I put them together initially, but loosely enough that I now wish I > could check out just 'repo/foo'. Since Git doesn't support partial > checkouts (a bit annoying!),
Um.. it does support partial checkouts (check out man page of git-read-tree, sparse checkout section). But you must do a full clone (i.e. your repository will have bar and baz, even if you only checkout foo).
-- Duy