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

Re: About the .gitmodules file

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Jan 2, 2008, 17:13 UTC
Message-ID
<20080102171317.GE29972@genesis.frugalware.org>
In-Reply-To
<7bfdc29a0801020239w6f4133d3pc6f1aa325b1067db@mail.gmail.com>
On Wed, Jan 02, 2008 at 04:39:24PM +0600, Imran M Yousuf <imyousuf@gmail.com> wrote:
Show 5 quoted lines
> "git-submodule add". An entry for a submodule in that file looks like:
> 
>     [submodule "a"]
>             path = a
>             url = /home/imyousuf/projects/git-projs/smart-sip/submodules/a/.git

that means: the submodule is under /root_of_the_repo/a/ and the repo should be cloned from $url (to a/) when one clones the parent repo and runs git submodule init

- VMiklos
Previous: Imran M Yousuf
Message 2 of 2 in “About the .gitmodules file”
  1. Imran M YousufJan 2, 2008
  2. Miklos VajnaJan 2, 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.