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

Re: Keeping two repos in sync

From
DCDavid Chanters <david.chanters@googlemail.com>
Date
Sep 9, 2012, 08:44 UTC
Message-ID
<CACffvTryOcefmqNdJ00TuDPov+TpRZRvZ46UDV-8F_cdp80SgA@mail.gmail.com>
In-Reply-To
<m2k3w3lhjc.fsf@igel.home>
Hi,
On 9 September 2012 09:36, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Add "bsd" as a remote in "portable" and cherry-pick each commit in
> "bsd".
I am already kind of doing this at the moment.  Hence:
1.  In portable, I have:

% git remote add bsd /path/to/bsd/repo % git fetch bsd

2.  At this point I scan the two branches looking for a point to
graft; I might have done this already in the past, but the point is
since grafting is a local operation and I am not working in that
repository, I might need to do it again anyway -- that graft
represents a way of tieing the branches together at a point I can then
"git merge".
Kindly,
David
Previous: Andreas SchwabNext: Andreas Schwab
Message 3 of 4 in “Keeping two repos in sync”
  1. David ChantersSep 9, 2012
  2. Andreas SchwabSep 9, 2012
  3. David ChantersSep 9, 2012
  4. Andreas SchwabSep 9, 2012

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.