Re: Is there a way to control the number of revisions will be saved by git

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

 



On Wed, Dec 03, 2008 at 04:58:40AM -0800, Jakub Narebski <jnareb@xxxxxxxxx> wrote:
> Or just use shallow clone
> 
>   git clone --depth <depth> <repository>
> 
> to have new copy (clone) of <repository> to have only <depth> commits
> back.  See man git-commit; but it might be not what you want.

You mean man git-clone?

This trick can be used only once, since you can't clone a shallow clone.

Attachment: pgpyaTnP9DMMm.pgp
Description: PGP signature


[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]

  Powered by Linux