From: Dread Quixadhal <quixadhal@yahoo.com>
To: git@vger.kernel.org
Subject: Partial clone/pull?
Date: Tue, 20 Jul 2010 15:15:31 -0700 (PDT) [thread overview]
Message-ID: <29220205.post@talk.nabble.com> (raw)
I have a local git repository of a server project that I'd like to
distribute. However, I don't want to distribute EVERY file in the
repository, but I *would* like to distribute the full set of changes for
those files I do plan to release.
I'm having some trouble figuring out how to do this. I assumed I'd create a
new repository and then use git pull to merge the directories I want in my
distribution repository. I can't seem to find a way to specify what files I
want though.
Let's say I had a repository called stuff, with directories a, b, and c. I
want to make a distribution repository containing just a and b, but with
full histories so a "git pull" will sync from the stuff repository, but
ignore the "c" directory.
Any suggestions?
Thanks!
--
View this message in context: http://old.nabble.com/Partial-clone-pull--tp29220205p29220205.html
Sent from the git mailing list archive at Nabble.com.
next reply other threads:[~2010-07-20 22:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-20 22:15 Dread Quixadhal [this message]
2010-07-20 22:38 ` Partial clone/pull? 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=29220205.post@talk.nabble.com \
--to=quixadhal@yahoo.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).