fix line length
This commit is contained in:
parent
42b4a3b105
commit
297817bf1f
|
|
@ -28,10 +28,12 @@ cd rust
|
||||||
|
|
||||||
Due to the size of the repository, cloning on a slower internet connection can take a long time.
|
Due to the size of the repository, cloning on a slower internet connection can take a long time.
|
||||||
To sidestep this, you can use the `--depth N` option with the `git clone` command.
|
To sidestep this, you can use the `--depth N` option with the `git clone` command.
|
||||||
This instructs `git` to perform a "shallow clone", cloning the repository but truncating it to the last `N` commits.
|
This instructs `git` to perform a "shallow clone", cloning the repository but truncating it to
|
||||||
|
the last `N` commits.
|
||||||
|
|
||||||
Passing `--depth 1` tells `git` to clone the repository but truncate the history to the latest commit
|
Passing `--depth 1` tells `git` to clone the repository but truncate the history to the latest
|
||||||
that is on the `master` branch, which is usually fine for browsing the source code or building the compiler.
|
commit that is on the `master` branch, which is usually fine for browsing the source code or
|
||||||
|
building the compiler.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone --depth 1 https://github.com/rust-lang/rust.git
|
git clone --depth 1 https://github.com/rust-lang/rust.git
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue