Skip to content

Commit 15428fb

Browse files
committed
Refine instructions for checking out sources.
For those looking for a direct way to check out sources without needing to upload SSH keys to GitHub, provide checkouts using https. For those who likely will be doing direct commits and have their SSH keys uploaded to GitHub, provide URLs for cloning over SSH.
1 parent 41704b2 commit 15428fb

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,22 @@ compiler for C++14 support and create a symlink:
6666

6767
### Getting Sources for Swift and Related Projects
6868

69+
For those checking out sources as read-only:
70+
71+
git clone https://github.com/apple/swift.git swift
72+
git clone https://github.com/apple/swift-llvm.git llvm
73+
git clone https://github.com/apple/swift-clang.git clang
74+
git clone https://github.com/apple/swift-lldb.git lldb
75+
git clone https://github.com/apple/swift-cmark.git cmark
76+
git clone https://github.com/apple/swift-llbuild.git llbuild
77+
git clone https://github.com/apple/swift-package-manager.git swiftpm
78+
git clone https://github.com/apple/swift-corelibs-xctest.git
79+
git clone https://github.com/apple/swift-corelibs-foundation.git
80+
81+
For those who plan on regular making direct commits, cloning over
82+
SSH may provide a better experience (which requires uploading
83+
SSH keys to GitHub):
84+
6985
git clone [email protected]:apple/swift.git swift
7086
git clone [email protected]:apple/swift-llvm.git llvm
7187
git clone [email protected]:apple/swift-clang.git clang
@@ -76,7 +92,6 @@ compiler for C++14 support and create a symlink:
7692
git clone [email protected]:apple/swift-corelibs-xctest.git
7793
git clone [email protected]:apple/swift-corelibs-foundation.git
7894

79-
8095
[CMake](http://cmake.org) is the core infrastructure used to configure builds of
8196
Swift and its companion projects; at least version 2.8.12.2 is required. Your
8297
favorite Linux distribution likely already has a CMake package you can install.

0 commit comments

Comments
 (0)