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

copy selected history between repostories

From
Lluisgutz <luis@xmos.com>
Date
Jul 18, 2008, 16:58 UTC
Message-ID
<18533605.post@talk.nabble.com>
Hi All,

This is something I'm not sure how to do with git, or even if it is possible in git; and because google has not been my friend this time, I though I would ask here.

I have 2 repositories: repoA and repoB.

repoB is massive. lots of history and files. But it has a set of files inside a particular dir with 40-60 files that I just realized are better in repoA.

Is there any way to import that directory into repoA with all it's history, but NOT the history from the other commits? Another way of putting is this: can I make git forget the history of all other commits but those from this directory?

-- 
View this message in context: http://www.nabble.com/copy-selected-history-between-repostories-tp18533605p18533605.html
Sent from the git mailing list archive at Nabble.com.
Next: Avery Pennarun
Message 1 of 5 in “copy selected history between repostories”
  1. luisgutzJul 18, 2008
  2. Avery PennarunJul 18, 2008
  3. Nick AndrewJul 19, 2008
  4. Johannes SchindelinJul 19, 2008
  5. Jeff KingJul 19, 2008

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.