On 03/11/15 06:08, Michael Orlitzky wrote:
> On 11/02/2015 04:52 PM, Bill Kenworthy wrote:
>> I have been playing with using git to sync portage while watching the
>> conversation on gentoo-dev.  Works, and after the initial sync it is
>> actually faster than rsync and you get changelogs of a sort.
>>
>> Is there a guide to set up git as a local server for portage?
>>
> 
> What do you mean by local server? You want to share the git repo on one
> of your machines with some other machines of yours?
> 
> If so, the git repo is just a directory, and can be copied around with
> scp or anything else. But to do it efficiently, git knows how to operate
> over SSH. So on the client, you can do something like,
> 
>   $ git clone my-server.example.com:/path/to/repo.git
> 
> Enter the SSH password for your account on my-server.example.com, and
> git will clone the whole repo. Later on, running `git pull` on the
> client (from within the repo.git directory) will sync it.
> 
> 

Thanks.  Yes I have a few gentoo machines and around 12 gentoo VM's - I
currently use a rsync/httpreplicator to a master machine architecture
which could be replaced by git.

BillK






Reply via email to