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

Newbie question about submodules and git clone.

From
MRmax roth <maxrothca@gmail.com>
Date
May 3, 2008, 02:00 UTC
Message-ID
<C7698B88-6ECF-43BE-BE97-82B69AC138CA@gmail.com>

I have a small personal project that I want to use submodules for. For each of the submodules, I set up a git repository and then used git submodule add to add them to the super project. When I try to clone the super project I get this error

/git_repositories/biatch/.git/refs/remotes/origin: No such file or
directory
Warning: Remote HEAD refers to nonexistent ref, unable to checkout.

What does this mean? Everything is on my laptop so I don't know if it is trying to go to a URL or something. I'm a newbie and documentation about this is sparse. Thanks.

Message 1 of 1 in “Newbie question about submodules and git clone.”
  1. max rothMay 3, 2008

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.