From: skillzero@gmail.com
To: git@vger.kernel.org
Subject: Subtree merging of sub-directories between repositories?
Date: Sat, 1 Aug 2009 23:37:01 -0700 [thread overview]
Message-ID: <2729632a0908012337l6d84ba76o81239d324ba11cf2@mail.gmail.com> (raw)
Is it possible to use the subtree merge strategy to import just one
directory from a repository into a directory of a different
repository? The subtree merge example describes bringing in an entire
repository as a directory, but I'm not sure how to adapt that to just
import part of the source repository. The repositories are completely
different, but repository A has a couple directories I want to import
into repository B (along with the history that affected those
directories). I may also make changes on either side and it would be
nice to be able to re-merge in either direction.
I was thinking I might need something like the git-subtree script, but
maybe this can be done with standard git commands?
next reply other threads:[~2009-08-02 6:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 6:37 skillzero [this message]
2009-08-02 8:30 ` Subtree merging of sub-directories between repositories? Avery Pennarun
2009-08-02 18:05 ` skillzero
2009-08-02 18:53 ` Avery Pennarun
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=2729632a0908012337l6d84ba76o81239d324ba11cf2@mail.gmail.com \
--to=skillzero@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).