Skip to content

Commit 3365ed3

Browse files
authored
Merge pull request #3997 from dotty-staging/doc-single-branch
Document how to clone dotty faster
2 parents b98aeba + 21b279b commit 3365ed3

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
@@ -16,10 +16,11 @@ Compiling and Running
1616
Start by cloning the repository:
1717

1818
```bash
19-
$ git clone --recursive https://github.com/lampepfl/dotty.git
19+
$ git clone --recursive --single-branch https://github.com/lampepfl/dotty.git
2020
$ cd dotty
2121
$ sbt managedSources # Needed for IDE import to succeed
2222
```
23+
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)).
2324

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

0 commit comments

Comments
 (0)