git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Seeking git recipe to grab a single file
@ 2006-12-06 21:22 Mitch Bradley
  2006-12-06 21:51 ` Alex Riesen
  0 siblings, 1 reply; 2+ messages in thread
From: Mitch Bradley @ 2006-12-06 21:22 UTC (permalink / raw)
  To: git

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.

Thanks,
Mitch Bradley

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Seeking git recipe to grab a single file
  2006-12-06 21:22 Seeking git recipe to grab a single file Mitch Bradley
@ 2006-12-06 21:51 ` Alex Riesen
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Riesen @ 2006-12-06 21:51 UTC (permalink / raw)
  To: Mitch Bradley; +Cc: git

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-06 21:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-06 21:22 Seeking git recipe to grab a single file Mitch Bradley
2006-12-06 21:51 ` Alex Riesen

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).