git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Seeking git recipe to grab a single file

From
MBMitch Bradley <wmb@firmworks.com>
Date
Dec 6, 2006, 21:22 UTC
Message-ID
<4577348E.4090105@firmworks.com>

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

Next: Alex Riesen
Message 1 of 2 in “Seeking git recipe to grab a single file”
  1. Mitch BradleyDec 6, 2006
  2. Alex RiesenDec 6, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.