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

Re: How to change a submodue as a subdirectory?

From
Ping Yin <pkufranky@gmail.com>
Date
Nov 15, 2007, 05:36 UTC
Message-ID
<46dff0320711142136r2c70d698vd380c02188f95507@mail.gmail.com>
In-Reply-To
<20071114202651.GC3973@steel.home>
On Nov 15, 2007 4:26 AM, Alex Riesen <raa.lkml@gmail.com> wrote:
Show 12 quoted lines
> Ping Yin, Wed, Nov 14, 2007 15:37:57 +0100:
> > I have a super project superA, and a submodue subB. Now i decide to
> > switch subB from submodule to sub directory. Any good way to do that
> > and not losing any history?
>
> $ mv subB sub
> $ git add sub
> $ git update-index --force-remove subB
> $ git commit
>
> Which history were you afraid of losing?
>
I want to keep the history of the submodule
-- 
Ping Yin
Previous: Alex RiesenNext: Johannes Schindelin
Message 3 of 7 in “How to change a submodue as a subdirectory?”
  1. Ping YinNov 14, 2007
  2. Alex RiesenNov 14, 2007
  3. Ping YinNov 15, 2007
  4. Johannes SchindelinNov 15, 2007
  5. Ping YinNov 15, 2007
  6. Johannes SchindelinNov 15, 2007
  7. Ping YinNov 15, 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.