From: "Alex Riesen" <raa.lkml@gmail.com>
To: "Mitch Bradley" <wmb@firmworks.com>
Cc: git@vger.kernel.org
Subject: Re: Seeking git recipe to grab a single file
Date: Wed, 6 Dec 2006 22:51:39 +0100 [thread overview]
Message-ID: <81b0412b0612061351v16aa6b94q8dce9404a5b2675a@mail.gmail.com> (raw)
In-Reply-To: <4577348E.4090105@firmworks.com>
On 12/6/06, Mitch Bradley <wmb@firmworks.com> wrote:
> I want to grab a single file from a remote git repository into the
> current directory, which is not a git tree. Is there an easy way to do
> that? I have tried using git-fetch and git-cat-file, without success.
If the remote repo has a gitweb interface than it's simple:
wget 'http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;h=0451f69353bad4d07de34fd4658f40b805bd467a;f=Kbuild'
Otherwise, there is no simple way to do it yet.
prev parent reply other threads:[~2006-12-06 21:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-06 21:22 Seeking git recipe to grab a single file Mitch Bradley
2006-12-06 21:51 ` Alex Riesen [this message]
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=81b0412b0612061351v16aa6b94q8dce9404a5b2675a@mail.gmail.com \
--to=raa.lkml@gmail.com \
--cc=git@vger.kernel.org \
--cc=wmb@firmworks.com \
/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).