Skip to content

Commit 21b279b

Browse files
committed
Document how to clone dotty faster
Workaround for consequences of #3236, probably to revert when that issue is fixed.
1 parent 726dcc0 commit 21b279b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/docs/contributing/getting-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ Compiling and Running
1515
Start by cloning the repository:
1616

1717
```bash
18-
$ git clone --recursive https://github.com/lampepfl/dotty.git
18+
$ git clone --recursive --single-branch https://github.com/lampepfl/dotty.git
1919
$ cd dotty
2020
$ sbt managedSources # Needed for IDE import to succeed
2121
```
22+
Pass `--single-branch` to clone only the master branch, otherwise cloning will be *much* slower (details in [issue #3236](https://github.com/lampepfl/dotty/issues/3236)).
2223

2324
Dotty provides a standard sbt build: compiling, running and starting a repl can
2425
all be done from within sbt:

0 commit comments

Comments
 (0)