Re: Is there a way to control the number of revisions will be saved by git
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Dec 3, 2008, 13:40 UTC
- Message-ID
- <20081203134036.GR19355@genesis.frugalware.org>
- In-Reply-To
- <m3ljuxifer.fsf@localhost.localdomain>
On Wed, Dec 03, 2008 at 04:58:40AM -0800, Jakub Narebski <jnareb@gmail.com> wrote:
Show 6 quoted lines
> 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.