From: Geoffrey Lee Date: Sun, 22 Mar 2009 23:06:20 GMT Subject: Re: Newbie: Do I need to download the entire repo to work on just 1 file? Message-ID: <83d7aaa40903221606yd84412cna873554f7f58a75f@mail.gmail.com> In-Reply-To: On Sun, Mar 22, 2009 at 4:00 PM, Sverre Rabbelier wrote: > On Sun, Mar 22, 2009 at 23:08, Anthony Rasmussen 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