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

Re: How do you add an external directory to repository?

From
Fredrik Gustafsson <iveqy@iveqy.com>
Date
Mar 7, 2010, 20:23 UTC
Message-ID
<20100307202302.GB19693@iveqy.com>
In-Reply-To
<1267992229319-4691734.post@n2.nabble.com>
On Sun, Mar 07, 2010 at 12:03:49PM -0800, slipstream180 wrote:
> 
> I want to add an external directory to an existing repository.
I'm unsure if that can be done, I don't think so.

I do, however, believe that the superproject functionality can suite your needs. Then you will have two git repositories, one wich is handling the other.

It sounds really more complicated than it is.
http://en.wikibooks.org/wiki/Git/Submodules_and_Superprojects

regards iveqy

Previous: slipstream180Next: Nicolas Sebrecht
Message 2 of 3 in “How do you add an external directory to repository?”
  1. slipstream180Mar 7, 2010
  2. Fredrik GustafssonMar 7, 2010
  3. Nicolas SebrechtMar 7, 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.