threads / discuss / 21605

Warning while cloning remote repository

Subject: Warning while cloning remote repository

## tl;dr

2 messages between Nov 13, 2009 and Nov 13, 2009.

replies: 1people: 2as markdown or json

Shameem Ahamed· Nov 13, 2009, 10:20 UTC · lore
Hi,
I ran in to a warning message while cloning a remote repository.
The message is 
warning: remote HEAD refers to nonexistent ref, unable to checkout.
After the cloning i couldn't see any remote files. The .git folder is created successfully.

Regards, Shameem

      
Johan 't Hart· Nov 13, 2009, 19:34 UTC · re: Shameem Ahamed · lore

Re: Warning while cloning remote repository

Shameem Ahamed schreef:
Show 10 quoted lines
> Hi,
> 
> I ran in to a warning message while cloning a remote repository.
> 
> The message is 
> 
> warning: remote HEAD refers to nonexistent ref, unable to checkout.
> 
> After the cloning i couldn't see any remote files. The .git folder is created successfully.
> 

try git checkout -t origin/master

on the clone.. Maybe its a workaround?

← back to recent threads