Re: RFC: reflog for deleted branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 4, 2012 at 2:55 AM, Sven Strickroth
<sven.strickroth@xxxxxxxxxxxxxxx> wrote:
> Hi,
>
> an often heart question is how to restore deleted branches. Sometimes
> those can be restored by using the reflog of the HEAD.

I get by with:

    gitk --date-order $(git fsck | grep "dangling.commit" | cut -f3
-d' ') --not --branches --tags --remotes

Works for me because I usually remember *something* about the commit
message so then I type in "/" and the string and in a few
"Shift-downarrow"s I'm there.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]