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

Re: .git inside a .git: is it safe?

From
Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Date
Mar 14, 2007, 15:02 UTC
Message-ID
<8b65902a0703140802t4d98bbfdj84e8c4523e852e8a@mail.gmail.com>
In-Reply-To
<20070312221540.GA16545@spearce.org>
Thanks for your answers. It's really a cool feature for my needs.
On 3/12/07, Shawn O. Pearce <spearce@spearce.org> wrote:
> Yes, that's fine.  You just probably want an entry in the top level
> project (myproject) that says ignore the stuff under mainproject.
> That way "git add ." in myproject doesn't include files in
> mainproject by accident.

In fact, in my case, I think I will prefer to store the mainproject's sources in both Git repo. By this way, I will be able to easily found the version of mainproject's sources that are compatible with the rest of myproject.

-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/
Previous: Shawn O. PearceNext: Jakub Narebski
Message 3 of 4 in “.git inside a .git: is it safe?”
  1. Guilhem BonnefilleMar 12, 2007
  2. Shawn O. PearceMar 12, 2007
  3. Guilhem BonnefilleMar 14, 2007
  4. Jakub NarebskiMar 12, 2007

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.