tech-repository archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: is the proof in the pudding?
Hi David,
On Tue, Jul 29, 2008 at 04:39:49AM +0000, David Holland wrote:
[snip]
> git ... can't check out a tree without cloning the full history
It can. See git-clone's --depth option. Although a repo cloned that
way has a number of limitations I think it would do the job for people
not wanting a full history. From the manpage:
--depth <depth>
Create a shallow clone with a history truncated to the
specified number of revisions. A shallow repository has a
number of limitations (you cannot clone or fetch from it,
nor push from nor into it), but is adequate if you are only
interested in the recent history of a large project with a
long history, and would want to send in fixes as patches.
Regards,
Daniel
--
Daniel Sieger
Faculty of Technology
Bielefeld University
wwwhomes.uni-bielefeld.de/dsieger
Home |
Main Index |
Thread Index |
Old Index