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.


Reply via email to