From: Lars Hjemli Date: Wed, 16 May 2007 07:10:28 GMT Subject: Re: Losing branches (whee, data loss) Message-ID: <8c5c35580705160010s506b6f53y4209c1b541c3112a@mail.gmail.com> In-Reply-To: <464AA773.3090808@garzik.org> On 5/16/07, Jeff Garzik wrote: > 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. > That's bad. Just out of curiosity: do you get any output from 'git log RENAMED-REF'? -- larsh