Re: how to recover a repository

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

 



thanks, that appears to have worked.

David Lang

On Fri, 17 Dec 2010, Jeff King wrote:

Date: Fri, 17 Dec 2010 16:22:02 -0500
From: Jeff King <peff@xxxxxxxx>
To: david@xxxxxxx
Cc: Jonathan Nieder <jrnieder@xxxxxxxxx>, git@xxxxxxxxxxxxxxx
Subject: Re: how to recover a repository

On Fri, Dec 17, 2010 at 12:20:56PM -0800, david@xxxxxxx wrote:

3. git update-ref HEAD refs/heads/(branch you were on)

I was on the default branch but if I do 'git update-ref HEAD
refs/heads/master' I get an error 'not a valid SHA1'

That should be "git symbolic-ref HEAD refs/heads/master".

-Peff

--
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]