Skip to content

Commit

Permalink
Rollup merge of rust-lang#7237 - hi-rustin:rustin-patch-command, r=fl…
Browse files Browse the repository at this point in the history
…ip1995

Add the command to add upstream remote

changelog: none

Adding this command should better help new contributors.
  • Loading branch information
flip1995 authored May 18, 2021
2 parents 99fb776 + fd442c3 commit 591145c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 591145c

Please sign in to comment.