Re: panic recovery
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jan 16, 2011, 12:38 UTC
- Message-ID
- <201101161338.54423.trast@student.ethz.ch>
- In-Reply-To
- <AANLkTikBjWU_dm1a+2AQyP-bhdO_WtYJ8OdE7Zs3E=kV@mail.gmail.com>
Levend Sayar wrote:
> git am --abort > > After that, we saw that all the sources she developed for two weeks > are gone.
You can dig up the lost commits from the HEAD reflog after that, which records all movements of HEAD. See
http://www.kernel.org/pub/software/scm/git/docs/git-reflog.html
The method you described is usually only applicable if you have truly unreachable objects, which happens e.g. if you lost some content that was once staged in the index but never committed.
--
Thomas Rast
trast@{inf,student}.ethz.ch