Updated 'Getting Started' to use valid git links (added trailing slashes)

Reviewers: pcc, asl, tonic

Reviewed By: pcc

Subscribers: llvm-commits, kcc

Differential Revision: https://reviews.llvm.org/D38516

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316352 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mitch Phillips 2017-10-23 17:37:41 +00:00
parent a2f5529e33
commit 67f07003fe

View File

@ -512,43 +512,43 @@ clone of LLVM via:
.. code-block:: console .. code-block:: console
% git clone http://llvm.org/git/llvm.git % git clone https://git.llvm.org/git/llvm.git/
If you want to check out clang too, run: If you want to check out clang too, run:
.. code-block:: console .. code-block:: console
% cd llvm/tools % cd llvm/tools
% git clone http://llvm.org/git/clang.git % git clone https://git.llvm.org/git/clang.git/
If you want to check out compiler-rt (required to build the sanitizers), run: If you want to check out compiler-rt (required to build the sanitizers), run:
.. code-block:: console .. code-block:: console
% cd llvm/projects % cd llvm/projects
% git clone http://llvm.org/git/compiler-rt.git % git clone https://git.llvm.org/git/compiler-rt.git/
If you want to check out libomp (required for OpenMP support), run: If you want to check out libomp (required for OpenMP support), run:
.. code-block:: console .. code-block:: console
% cd llvm/projects % cd llvm/projects
% git clone http://llvm.org/git/openmp.git % git clone https://git.llvm.org/git/openmp.git/
If you want to check out libcxx and libcxxabi (optional), run: If you want to check out libcxx and libcxxabi (optional), run:
.. code-block:: console .. code-block:: console
% cd llvm/projects % cd llvm/projects
% git clone http://llvm.org/git/libcxx.git % git clone https://git.llvm.org/git/libcxx.git/
% git clone http://llvm.org/git/libcxxabi.git % git clone https://git.llvm.org/git/libcxxabi.git/
If you want to check out the Test Suite Source Code (optional), run: If you want to check out the Test Suite Source Code (optional), run:
.. code-block:: console .. code-block:: console
% cd llvm/projects % cd llvm/projects
% git clone http://llvm.org/git/test-suite.git % git clone https://git.llvm.org/git/test-suite.git/
Since the upstream repository is in Subversion, you should use ``git Since the upstream repository is in Subversion, you should use ``git
pull --rebase`` instead of ``git pull`` to avoid generating a non-linear history pull --rebase`` instead of ``git pull`` to avoid generating a non-linear history
@ -622,7 +622,7 @@ To set up clone from which you can submit code using ``git-svn``, run:
.. code-block:: console .. code-block:: console
% git clone http://llvm.org/git/llvm.git % git clone https://git.llvm.org/git/llvm.git/
% cd llvm % cd llvm
% git svn init https://llvm.org/svn/llvm-project/llvm/trunk --username=<username> % git svn init https://llvm.org/svn/llvm-project/llvm/trunk --username=<username>
% git config svn-remote.svn.fetch :refs/remotes/origin/master % git config svn-remote.svn.fetch :refs/remotes/origin/master
@ -630,7 +630,7 @@ To set up clone from which you can submit code using ``git-svn``, run:
# If you have clang too: # If you have clang too:
% cd tools % cd tools
% git clone http://llvm.org/git/clang.git % git clone https://git.llvm.org/git/clang.git/
% cd clang % cd clang
% git svn init https://llvm.org/svn/llvm-project/cfe/trunk --username=<username> % git svn init https://llvm.org/svn/llvm-project/cfe/trunk --username=<username>
% git config svn-remote.svn.fetch :refs/remotes/origin/master % git config svn-remote.svn.fetch :refs/remotes/origin/master