git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Warning while cloning remote repository

From
Johan 't Hart <johanthart@gmail.com>
Date
Nov 13, 2009, 19:34 UTC
Message-ID
<hdkcbm$24q$1@ger.gmane.org>
In-Reply-To
<117260.55181.qm@web94705.mail.in2.yahoo.com>
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?
Previous: Shameem Ahamed
Message 2 of 2 in “Warning while cloning remote repository”
  1. Shameem AhamedNov 13, 2009
  2. Johan 't HartNov 13, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.