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

Re: Git Submodule Usage Pattern

From
Avery Pennarun <apenwarr@gmail.com>
Date
Feb 16, 2010, 20:38 UTC
Message-ID
<32541b131002161238h5549882fv89ab90812b3e8131@mail.gmail.com>
In-Reply-To
<20100216200035.GA19834@inner.home.ulmdo.de>
On Tue, Feb 16, 2010 at 3:00 PM, Andreas Krey <a.krey@gmx.de> wrote:
Show 6 quoted lines
> On Tue, 16 Feb 2010 12:48:16 +0000, Avery Pennarun wrote:
>> Three suggestions I can offer:
> ...
>> 2) Try using relative repo paths (like ../foo.git) in .gitmodules.
>
> Is that a 'try', or are those supposed to work?

It works. The reason I said "try" is that in order to *make* it work, you may have to move your repositories around so that you can reach one using a relative path from the other (ie. it's easiest if they're on the same server at the same level of the directory hierarchy).

Avery
Previous: Andreas Krey
Message 4 of 4 in “Git Submodule Usage Pattern”
  1. Tim VisherFeb 16, 2010
  2. Avery PennarunFeb 16, 2010
  3. Andreas KreyFeb 16, 2010
  4. Avery PennarunFeb 16, 2010

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.