mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
Add the command to add upstream remote
This commit is contained in:
parent
6fcdb8a297
commit
fd442c3f11
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ git clone git@github.com:<your-username>/rust-clippy
|
|||
If you've already cloned Clippy in the past, update it to the latest version:
|
||||
|
||||
```bash
|
||||
# If the upstream remote has not been added yet
|
||||
git remote add upstream https://github.com/rust-lang/rust-clippy
|
||||
# upstream has to be the remote of the rust-lang/rust-clippy repo
|
||||
git fetch upstream
|
||||
# make sure that you are on the master branch
|
||||
|
|
Loading…
Add table
Reference in a new issue