From: Johannes Schindelin Date: Wed, 13 Dec 2006 00:01:39 GMT Subject: Re: Using git as a general backup mechanism (was Re: Using GIT to store /etc) Message-ID: In-Reply-To: <457F3606.7020805@midwinter.com> Hi, On Tue, 12 Dec 2006, Steven Grimm wrote: > Johannes Schindelin wrote: > > $ git pull --depth 1 > > > > Though it needs a server _and_ a client supporting shallow clones, > > which support is brewed in "next" right now. > > Will that actually discard old revisions that are already stored > locally? No. A pull should _never_ lose anything from the repository. However, if some objects become no-longer reachable (and at the moment it looks like we cut of history, even if we should not need to), they can be pruned from the repo. Hth, Dscho