git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeenu V <jeenuv@gmail.com>
To: git@vger.kernel.org
Subject: Transplant branch from another repository
Date: Tue, 1 Dec 2009 16:31:02 +0530	[thread overview]
Message-ID: <5195c8760912010301r63d5e27axf53c17db799a798f@mail.gmail.com> (raw)

Hi,

Say, I have two repositories A and B (local, independent, but similar
- they are for content tracking and not collaboration purposes). A has
a branch 'a', which I want to have in B. What I mean is that I'd like
to have the sequence of changes in the branch 'a' to be present in B,
thus creating an independent branch 'b' in B.

Is there any way to achieve this? One thing that I could think of is
to use 'format-patch' to generate the list of patch files from A. But
I don't see how to convert those patches to a sequence of commits in
repo B. I could do a 'git apply patches/*' but then all patches
collapse to one single commit. If format-patch is a/the way, could
somebody tell me how to get this done? Or are there any alternatives?

FWIW: I'm running Git under Cygwin, and sendmail isn't configured.

Thanks
Jeenu

             reply	other threads:[~2009-12-01 11:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-01 11:01 Jeenu V [this message]
2009-12-01 16:07 ` Transplant branch from another repository Michael J Gruber
     [not found] <hf2t2i$l2b$1@xyzzy.farnsworth.org>
2009-12-01 16:53 ` Dale Farnsworth
2009-12-17 11:06   ` Jeenu V

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=5195c8760912010301r63d5e27axf53c17db799a798f@mail.gmail.com \
    --to=jeenuv@gmail.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).