lkml.org 
[lkml]   [2009]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: host a git archive on an rsync server?
    Date
    >>>>> "Dan" == Dan Carpenter <error27@gmail.com> writes:

    Dan> Could someone do a git clone and put it on an rsync server for me?

    You can rsync the bare repo from kernel.org at:

    rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

    After you get the rsync of the bare tree, do:

    git clone --reference linux-2.6.git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

    then you can delete the linux-2.6/.git/objects/info/alternates file and
    copy the linux-2.6.git/objects/ tree to linux-2.6/.git/objects/.

    (Making the separate clone and moving over the referenced objects is the
    best way to ensure that the resulting repo has the same settings as a
    direct clone would have. You may want to run a git gc after all of that
    to pack any loose objects from the rsync'ed repo.

    -JimC
    --
    James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6


    \
     
     \ /
      Last update: 2009-12-03 08:11    [W:0.022 / U:0.432 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site