git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geoffrey Lee <geoffreyj.lee@gmail.com>
To: git@vger.kernel.org
Subject: Re: Newbie: Do I need to download the entire repo to work on just 1  file?
Date: Sun, 22 Mar 2009 16:06:20 -0700	[thread overview]
Message-ID: <83d7aaa40903221606yd84412cna873554f7f58a75f@mail.gmail.com> (raw)
In-Reply-To: <fabb9a1e0903221600j22cf028fl903aef8076e53777@mail.gmail.com>

On Sun, Mar 22, 2009 at 4:00 PM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
> On Sun, Mar 22, 2009 at 23:08, Anthony Rasmussen <evoluenta@hotmail.com> wrote:
>> Do I have to download the entire rep onto my laptop in order to do this?  I have read and read, but I am quite confused :)
>
> Yes, you do, in general though, git repositories are quite compact
> compared to, say, a svn checkouts. It is not unheard of that the full
> git clone is smaller than the same code as svn checkout.

It depends on what you mean by "entire repo". Of course you need all
the source files to compile, but you do not need past revisions. Take
a look at the --depth parameter for git-clone.

-Geoffrey Lee

  reply	other threads:[~2009-03-22 23:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-22 22:08 Newbie: Do I need to download the entire repo to work on just 1 file? Anthony Rasmussen
2009-03-22 23:00 ` Sverre Rabbelier
2009-03-22 23:06   ` Geoffrey Lee [this message]
2009-03-22 23:10   ` Nicolas Sebrecht
2009-03-22 23:10     ` Sverre Rabbelier
2009-03-22 23:16       ` Geoffrey Lee
2009-03-22 23:31       ` Nicolas Sebrecht
2009-03-22 23:36         ` Nicolas Sebrecht

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=83d7aaa40903221606yd84412cna873554f7f58a75f@mail.gmail.com \
    --to=geoffreyj.lee@gmail.com \
    --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).