# Warning while cloning remote repository

2 messages from 2009-11-13 to 2009-11-13. Participants: Shameem Ahamed, Johan 't Hart.
Thread: https://gitlist.dev/t/21605

## Shameem Ahamed, 2009-11-13 10:20

Subject: Warning while cloning remote repository
Message-ID: <117260.55181.qm@web94705.mail.in2.yahoo.com>
URL: https://gitlist.dev/e/117260.55181.qm%40web94705.mail.in2.yahoo.com

```
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, 2009-11-13 19:34

Subject: Re: Warning while cloning remote repository
Message-ID: <hdkcbm$24q$1@ger.gmane.org>
URL: https://gitlist.dev/e/hdkcbm%2424q%241%40ger.gmane.org
In-Reply-To: <117260.55181.qm@web94705.mail.in2.yahoo.com>

```
Shameem Ahamed schreef:
> 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?

```
