[Arm-netbook] Git newbie question

Alejandro Mery amery at geeks.cl
Wed Jul 25 10:33:42 BST 2012


On 24 July 2012 23:48, lkcl luke <luke.leighton at gmail.com> wrote:
> On Tue, Jul 24, 2012 at 9:16 PM, Gerardo Di Iorio <arete74 at gmail.com> wrote:
>>
>> Hi,
>> 2012/7/24 Marco Caminati <spam.caminati at yahoo.com>
>>>
>>> Question regarding github: what's the difference between
>>>
>>> - the source tree obtained via `git clone' commandline and
>>
>>  If you clone the git repo, you have all history of branch  with zip you
>> have the zip
>> of all  files of branch, without history.
>
>  ... and also if you find a problem, and would like to contribute it
> back to other people, you are now a bit stuck.
>
>  and, also, if you want to "update" at any point in the future, with
> git you would just go "git pull" and it will *only* pull in the
> differences (additions) that have been made - including all history.
>
>  but if you wanted another update with a "zip" archive, well... you
> are forced to download... yet another complete and full archive.
>
>  zip is very crude and for one-offs, but it just depends on your needs
> and plans and anticipated level of interaction with others.

modern git supports cloning only one branch (see `git clone
--single-branch`), which in the case of kernel trees saves a lot of
time/space if you, giving you the best of both worlds, a history and
update-ability like any normal `git clone` and the reduced scope and
size of `git archive`.



More information about the arm-netbook mailing list