From: Yves Orton Date: Fri, 19 Dec 2008 16:07:52 +0000 (+0100) Subject: explain how to switch a git from git:// protocol to ssh:// protocol X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a0f15d53861f34964b4310e5438a72168cefacf;p=p5sagit%2Fp5-mst-13.2.git explain how to switch a git from git:// protocol to ssh:// protocol --- diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index f28d33d..bfc8e68 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -50,7 +50,21 @@ you can push back on with: git clone ssh://perl5.git.perl.org/gitroot/perl.git perl.ssh This clones the repository and makes a local copy in the 'perl.ssh' -directory. +directory. + +If you clone using git, which is faster than ssh, then you will need to +modify your config in order to enable config. edit .git/config where +you will see something like: + + [remote "origin"] + url = git://perl5.git.perl.org/perl.git + +change that to something like this: + + [remote "origin"] + url = ssh://perl5.git.perl.org/gitroot/perl.git + +NOTE: there are symlinks set up so that the /gitroot is actually optional. =head1 OVERVIEW OF THE REPOSITORY