From: Csaba Henk <csaba-ml@creo.hu>
To: git@vger.kernel.org
Subject: import files w/ history
Date: Tue, 3 Mar 2009 12:54:54 +0000 (UTC) [thread overview]
Message-ID: <slrngqqa4l.1t4t.csaba-ml@beastie.creo.hu> (raw)
Hi,
How could I import some files from an unrelated git repo with history?
And if I'd like to use different paths? Eg:
Say the other repo has these files:
lib/trees/rb_tree.{c,h}
and I want to import them into my repo as
include/rb_tree.h
src/rb_tree.c
(In fact I just have a single file to import and I don't want to
vary paths, yet I'm curious about this extended case, too.)
Thanks,
Csaba
next reply other threads:[~2009-03-03 12:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 12:54 Csaba Henk [this message]
2009-03-03 13:00 ` import files w/ history Jeff King
2009-03-06 13:29 ` Csaba Henk
2009-03-06 15:33 ` Miklos Vajna
2009-03-08 0:10 ` Jeff King
2009-03-09 5:15 ` Csaba Henk
2009-03-10 18:03 ` Jeff King
2009-03-11 0:11 ` Csaba Henk
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=slrngqqa4l.1t4t.csaba-ml@beastie.creo.hu \
--to=csaba-ml@creo.hu \
--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).