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

Fetching a single file from remote repo

From
DKDmitry Kakurin <dmitry.kakurin@gmail.com>
Date
Aug 13, 2007, 18:31 UTC
Message-ID
<a1bbc6950708131131q74525060x85d5e31c6a538f76@mail.gmail.com>
Is there a way to fetch a single file from remote repo without
creating a client repo?
I want to do something like
  git show --repo git://repo.or.cz/bla.git master:/somedir/file.txt
-- 
- Dmitry
Next: Dmitry Kakurin
Message 1 of 2 in “Fetching a single file from remote repo”
  1. Dmitry KakurinAug 13, 2007
  2. Dmitry KakurinAug 13, 2007

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.