Subject: Re: Question about 'branch -d' safety

From: Will Palmer <[email-masked]>
Date: Tue, 20 Jul 2010 07:31:59 +0100

On Mon, 2010-07-19 at 21:05 -0600, Joshua Jensen wrote:
> For my sake, how is the previous tip the easiest-to-recover part of a 
> deleted branch?  How do you go about finding the lost object?
> 
> Josh

git fsck | grep '^dangling commit' | while read dangling commit hash; do
	git log -1 --format='%at %h %s' $hash
done | sort -nr | less -FRSX

-- 
-- Will