git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: sean <seanlkml@sympatico.ca>
To: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
Cc: git@vger.kernel.org
Subject: Re: How to not download objects more than needed?
Date: Tue, 21 Feb 2006 16:13:40 -0500	[thread overview]
Message-ID: <BAYC1-PASMTP03A58A4F389365AC85DA68AEFC0@CEZ.ICE> (raw)
Message-ID: <20060221161340.73a19228.seanlkml@sympatico.ca> (raw)
In-Reply-To: <43FB6C42.5000208@gorzow.mm.pl>

On Tue, 21 Feb 2006 20:38:42 +0100
Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl> 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://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git \
   upstream:netdev

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

Sean

  reply	other threads:[~2006-02-21 21:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-21 19:38 How to not download objects more than needed? Radoslaw Szkodzinski
     [not found] ` <20060221161340.73a19228.seanlkml@sympatico.ca>
2006-02-21 21:13   ` sean [this message]
2006-02-22  0:42     ` Linus Torvalds
2006-02-22  1:13       ` Jan Harkes
2006-02-22  1:55         ` Junio C Hamano
2006-02-22  3:11           ` Jan Harkes
2006-02-22  3:22             ` Junio C Hamano
2006-02-22 21:12               ` [PATCH] git-fetch: follow tag only when tracking remote branch Junio C Hamano
2006-02-22 21:19                 ` Andreas Ericsson
2006-02-21 21:32 ` How to not download objects more than needed? Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAYC1-PASMTP03A58A4F389365AC85DA68AEFC0@CEZ.ICE \
    --to=seanlkml@sympatico.ca \
    --cc=astralstorm@gorzow.mm.pl \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).