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

Re: Creating a submodule and bringing history from the main project

From
Jens Lehmann <jens.lehmann@web.de>
Date
Aug 23, 2010, 16:30 UTC
Message-ID
<4C72A23F.4030600@web.de>
In-Reply-To
<AANLkTimoTN10EfeiE3Viim_x1Y3jRG89ANzRd69ah7jz@mail.gmail.com>
Am 22.08.2010 19:24, schrieb Guillermo Gonzalez:
> Is it possible to somehow export the history of say lib/componentX
> into a new repository componentX.git?

Sounds like you want to use "git filter-branch", see: http://progit.org/book/ch6-4.html#making_a_subdirectory_the_new_root

Previous: Guillermo Gonzalez
Message 2 of 2 in “Creating a submodule and bringing history from the main project”
  1. Guillermo GonzalezAug 22, 2010
  2. Jens LehmannAug 23, 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.