[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
All-clear, was Re: [Qemu-devel] WARNING: Savannah back online, do not fe
From: |
Johannes Schindelin |
Subject: |
All-clear, was Re: [Qemu-devel] WARNING: Savannah back online, do not fetch |
Date: |
Tue, 2 Jun 2009 23:48:09 +0200 (CEST) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
Hi,
On Tue, 2 Jun 2009, Avi Kivity wrote:
> As has been noticed, savannah git service is back online with an
> outdated backup.
>
> DO NOT run 'git fetch origin' (or whatever your remote is called). It will
> roll back your local copy to the end of april, and your local copy is now an
> official qemu backup, so don't do anything that can harm it.
It is not as dramatic as you make it sound.
In the most usual setup, the Git clones will _all_ have reflogs set up.
So if you call
$ git log -g origin/master
it will show the history of _this clone's_ origin/master. IOW you will
see exactly where a "forced update" reset your locally cached
origin/master, and you will still have the formerly valid revision.
So no, there is no real harm done if you happened to "git fetch", even if
nobody pushed the up-to-date versions again.
Oh, BTW, congratulations to switching away from Subversion just in time;
it is much easier to recover with Git: just push a newer revision (and
even if you should forget a revision, if somebody merges the former HEAD
and pushes, all is well in Git land).
Ciao,
Dscho