Re: Using git as a general backup mechanism (was Re: Using GIT to store /etc)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 13, 2006, 00:01 UTC
- Message-ID
- <Pine.LNX.4.63.0612130100220.2807@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <457F3606.7020805@midwinter.com>
Hi,
On Tue, 12 Dec 2006, Steven Grimm wrote:
Show 8 quoted lines
> 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