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

Re: Getting submodules to follow symlinks?

From
Edward Z. Yang <edwardzyang@thewritingpot.com>
Date
Dec 9, 2008, 17:29 UTC
Message-ID
<ghm9ts$hib$1@ger.gmane.org>
In-Reply-To
<57518fd10812090455wd109843mfece11eae9e4f593@mail.gmail.com>
Jonathan del Strother wrote:
> My git repository contains a symlink to another repository.  I'd like
> to make that second repository a submodule of the first, in such a way
> that when someone else clones the repository, there's no trace of the
> original symlink.

Yeah. If you register the submodule and then commit, the first repository would contain the submodule information, and anyone who loads submodules in another clone will not see the symlink.

Cheers, Edward

Previous: Jonathan del Strother
Message 2 of 2 in “Getting submodules to follow symlinks?”
  1. Jonathan del StrotherDec 9, 2008
  2. Edward Z. YangDec 9, 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.