Re: How to not download objects more than needed?

From: sean <>
Date: 2006-02-22 08:13:40
On Tue, 21 Feb 2006 20:38:42 +0100
Radoslaw Szkodzinski <> wrote:

> I have a pecuilar, but common use case for git.

It's not really that peculiar.

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

Just make sure you're not using the rsync protocol.   Using the
native git protocol would be best.

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

For instance, make sure your current linus repository is up to date 
with a "git pull" and then:

git fetch \
   git:// \

will take the "upstream" branch from the netdev repository and name it 
netdev in your local repository.

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Wed Feb 22 08:15:17 2006

This archive was generated by hypermail 2.1.8 : 2006-02-22 08:15:29 EST