Re: Is there a way to trim old SHAs from a git tree (so it's not so large)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 21 Nov 2006, Timur Tabi wrote:

> Shawn Pearce wrote:
> 
> > finally you can either run from that directory (see INSTALL file)
> > or you can install the binary somewhere else.  We don't really
> > recommend using `pu` for production level work, so make sure you
> > have a backup of any repository you run it on.  :)
> 
> So how do I make a shallow clone?  I've set it all up, but there is no
> git-shallow-clone command, and git help clone doesn't have anything either.

Try "git clone --depth 1 <url>". This will cut each ancestor chain after 
one ancestor (IIRC).

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]