Merge pull request #2311 from clubby789/partial-clone-link

Fix partial clone link
This commit is contained in:
许杰友 Jieyou Xu (Joe) 2025-03-30 20:37:26 +08:00 committed by GitHub
commit 4fe9ead682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ cd rust
> **NOTE**: A shallow clone limits which `git` commands can be run. > **NOTE**: A shallow clone limits which `git` commands can be run.
> If you intend to work on and contribute to the compiler, it is > If you intend to work on and contribute to the compiler, it is
> generally recommended to fully clone the repository [as shown above](#get-the-source-code), > generally recommended to fully clone the repository [as shown above](#get-the-source-code),
> or to perform a [partial clone](#shallow-clone-the-repository) instead. > or to perform a [partial clone](#partial-clone-the-repository) instead.
> >
> For example, `git bisect` and `git blame` require access to the commit history, > For example, `git bisect` and `git blame` require access to the commit history,
> so they don't work if the repository was cloned with `--depth 1`. > so they don't work if the repository was cloned with `--depth 1`.