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

Treat submodules as normal directories/files?

From
Wwiekaltheut@gmx.de <wiekaltheut@gmx.de>
Date
Jul 13, 2010, 06:14 UTC
Message-ID
<20100713061451.308580@gmx.net>
Hi!

Is it possible to treat submodules as normal directories/files?

I'm using Git not just for source code, but also for documents and my "projects" directory (mainly an Eclipse Workspace) in my home directory. Though Git may not be designed for this, it is an easy way do create a backup and sync my home directory between my machines :-).

This works fine, except for Git repositories inside my home (projects) directory. Is there a way, to treat them like normal directories so I can add them via git add?

Thank you and thanks for Git, which is just great :-).
-- 
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
Next: Jonathan Nieder
Message 1 of 2 in “Treat submodules as normal directories/files?”
  1. wiekaltheut@gmx.deJul 13, 2010
  2. Jonathan NiederJul 13, 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.