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

bringing changes from one repo to other

From
SPShantanu Pavgi <pavgi@uab.edu>
Date
Jun 30, 2011, 17:36 UTC
Message-ID
<F750768F-DC8E-435E-813A-C89AE9B9D89A@uab.edu>
Hi,
I need to bring in changes from one git repository (say repo-A) to other(say repo-B) preferably preserving the commit history. The repo-A contains few initial bad-commit points - includes files that should have been ignored (e.g temporary files generated at runtime) and large number of files got committed in one go. Also, the repo-A and repo-B don't have any common commit point with common set of files. Is there any way to get commits from repo-A to repo-B? I tried git cherry-pick, but I am not able to preserve history after resolving conflicts.  Any comments or suggestions will be really helpful. 

Thanks, Shantanu.

Next: Jeff King
Message 1 of 2 in “bringing changes from one repo to other”
  1. Shantanu PavgiJun 30, 2011
  2. Jeff KingJun 30, 2011

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.