Re: Using git as a general backup mechanism (was Re: Using GIT to store /etc)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 12, 2006, 22:57 UTC
- Message-ID
- <Pine.LNX.4.63.0612122355400.2807@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <457F31E6.8090701@midwinter.com>
Hi,
On Tue, 12 Dec 2006, Steven Grimm wrote:
> If there were a shallowize command, you could do something like "git > pull; git shallowize --depth 1" to track the latest revision without > keeping the history locally.
Almost!
$ git pull --depth 1
Though it needs a server _and_ a client supporting shallow clones, which support is brewed in "next" right now.
Ciao, Dscho