Re: Does cloning a shallow repo require special setting in the cloned one?
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- Feb 26, 2009, 06:34 UTC
- Message-ID
- <87tz6hn1tg.fsf@iki.fi>
- In-Reply-To
- <1235620146513-2387799.post@n2.nabble.com>
On 2009-02-25 19:49 (-0800), roylee17 wrote:
Show 5 quoted lines
> $ git clone --depth 1 git-full git-shallow2 > 'git log' still gives a full history > > Why can't I clone a shallow repo from the git-full? > Does it requires some settings in the git-full repo?
I don't know the "why" part but using file:// URL should work:
git clone --depth 1 file:///path/to/git-full git-shallow2