From: Andreas Schwab <schwab@linux-m68k.org>
To: <dag@cray.com>
Cc: <git@vger.kernel.org>
Subject: Re: Grafting Alternate History
Date: Sat, 01 Sep 2012 08:48:00 +0200 [thread overview]
Message-ID: <m2harick7z.fsf@igel.home> (raw)
In-Reply-To: <nng7gse7hrl.fsf@transit.us.cray.com> (dag@cray.com's message of "Fri, 31 Aug 2012 18:39:58 -0500")
<dag@cray.com> writes:
> For example, let's say we take a local copy of the private repository.
> I would like to somehow create an empty branch in that local copy and
> then populate it with the history of the public repository. I would
> like to be able to specify a git diff-like command on the public graft
> branch to get some changes over a range of commits and apply those
> changes to one of the private branches (say master).
You can set up (the git mirror of) the public repository as a remote in
the private repository and git cherry-pick the commits you want to copy
over.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2012-09-01 6:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 23:39 Grafting Alternate History dag
2012-09-01 6:48 ` Andreas Schwab [this message]
2012-09-04 22:56 ` dag
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2harick7z.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=dag@cray.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).