Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9e03901

Browse files
committed
Change default git repo URL to https
Since we now support the server side handler for git over https (so we're no longer using the "dumb protocol"), make https the primary choice for cloning the repository, and the git protocol the secondary choice. In passing, also change the links to git-scm.com from http to https. Reviewed by Stefan Kaltenbrunner and David G. Johnston
1 parent 0a459ce commit 9e03901

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

doc/src/sgml/sourcerepo.sgml

+6-9
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<step>
4242
<para>
4343
You will need an installed version of <productname>Git</productname>, which you can
44-
get from <ulink url="http://git-scm.com"></ulink>. Many systems already
44+
get from <ulink url="https://git-scm.com"></ulink>. Many systems already
4545
have a recent version of <application>Git</application> installed by default, or
4646
available in their package distribution system.
4747
</para>
@@ -52,7 +52,7 @@
5252
To begin using the Git repository, make a clone of the official mirror:
5353

5454
<programlisting>
55-
git clone git://git.postgresql.org/git/postgresql.git
55+
git clone https://git.postgresql.org/git/postgresql.git
5656
</programlisting>
5757

5858
This will copy the full repository to your local machine, so it may take
@@ -62,16 +62,13 @@ git clone git://git.postgresql.org/git/postgresql.git
6262
</para>
6363

6464
<para>
65-
The Git mirror can also be reached via the HTTP protocol, if for example
66-
a firewall is blocking access to the Git protocol. Just change the URL
67-
prefix to <literal>https</literal>, as in:
65+
The Git mirror can also be reached via the Git protocol. Just change the URL
66+
prefix to <literal>git</literal>, as in:
6867

6968
<programlisting>
70-
git clone https://git.postgresql.org/git/postgresql.git
69+
git clone git://git.postgresql.org/git/postgresql.git
7170
</programlisting>
7271

73-
The HTTP protocol is less efficient than the Git protocol, so it will be
74-
slower to use.
7572
</para>
7673
</step>
7774

@@ -90,7 +87,7 @@ git fetch
9087
<para>
9188
<productname>Git</productname> can do a lot more things than just fetch the source. For
9289
more information, consult the <productname>Git</productname> man pages, or see the
93-
website at <ulink url="http://git-scm.com"></ulink>.
90+
website at <ulink url="https://git-scm.com"></ulink>.
9491
</para>
9592
</sect1>
9693

0 commit comments

Comments
 (0)