Re: Losing branches (whee, data loss)
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 16, 2007, 06:43 UTC
- Message-ID
- <7viratfev8.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <464AA773.3090808@garzik.org>
Jeff Garzik <jeff@garzik.org> writes:
Show 13 quoted lines
> Jan Hudec wrote: >> And does the .git/logs/refs/heads/upstream-fixes still exist? > > Nope. > > >> If it does not, as last resort you'd have to git fsck --unreachable >> (this gives you all things that are not reachable from any ref), filter >> out only commit objects and than remember which one should have been on >> that branch after reading it's log, date and changes. > > Yeah, that will probably recover it. I wound up digging the emails > out of the trash bin, and applying them again.
Ah, sorry to hear that. Trying to rename and lost both old and new -- that is bad.