Skip to content

Git Warning - remote HEAD refers to nonexistent ref, unable to checkout. #3

@majid4466

Description

@majid4466

I wanted to test heroku's websocket support and tried to follow the steps in this article:
https://devcenter.heroku.com/articles/node-websockets

However, when I tried the first command:
$ git clone https://github.com/heroku-examples/node-ws-test.git

instead of having a clone of this app, a warning was shown saying:
Cloning into node-ws-test...
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Searching for the message, I found this SO Q&A:
http://stackoverflow.com/q/1961274/66580

But it appears only the owner of the repo could do what is suggested by the answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions