HEAD is your currently checked out branch.  If the repo is bare, HEAD really
has no meaning.  However, git-clone will use the remote HEAD to create and
checkout a branch after it fetches, even if the remote is a bare repo.
    Tekkub
    Github General Support
    http://support.github.com/
    Join us on IRC: #github on freenode.net
    Discussion group: [email protected]

On Fri, Jan 30, 2009 at 1:20 PM, Yuval Kogman <[email protected]>wrote:

>
> Hi,
>
> I forked git.git and subsequently removed all the branches I won't
> actually work with from my fork (master, next, pu, man, html...),
> leaving just my topic branches.
>
> Unfortunately the HEAD ref is also gone (i suspect it was removed when
> I removed 'master').
>
> Now I get the following error:
>
>    fatal: Couldn't find remote ref HEAD
>    fatal: The remote end hung up unexpectedly
>
> Unfortunately I don't know how to update the 'HEAD' reference.
> Presumably it should point at my most recent branch or something?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to