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

How to not download objects more than needed?

From
RSRadoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
Date
Feb 21, 2006, 19:38 UTC
Message-ID
<43FB6C42.5000208@gorzow.mm.pl>
I have a pecuilar, but common use case for git.

I have linux-2.6 repository pulled and I'd like to download some branch (say, netdev-2.6), which uses many of the same objects, but not to get all the objects from the git server.

I've already tried certain commands, but still can't do it, and my bandwidth isn't too happy about it.

It seems to require some kind of HEAD rewinding, or maybe fetching to another branch, I don't know.

Anyone cares to help?
-- 
GPG Key id:  0xD1F10BA2
Fingerprint: 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2

AstralStorm
Next: sean
Message 1 of 10 in “How to not download objects more than needed?”
  1. Radoslaw SzkodzinskiFeb 21, 2006
  2. seanFeb 21, 2006
  3. Linus TorvaldsFeb 22, 2006
  4. Jan HarkesFeb 22, 2006
  5. Junio C HamanoFeb 22, 2006
  6. Jan HarkesFeb 22, 2006
  7. Junio C HamanoFeb 22, 2006
  8. git-fetch: follow tag only when tracking remote branch.Junio C Hamano, Feb 22, 2006
  9. Andreas EricssonFeb 22, 2006
  10. Junio C HamanoFeb 21, 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.